I’m encountering an issue when trying to deploy my app using Streamlit. The problem arises during the cloning process of the repository. Here’s the error message I receive:
[18:04:46] Cloning repository…
[18:05:16] failed
[18:05:54] failed
[18:06:31] failed
[18:07:10] failed
[18:07:51] failed
[18:08:01] Failed to download the sources for repository: ‘capstone_3_gpt-2-relationship-advice’, branch: ‘main’, main module: ‘gpt2_chatbot.py’
[18:08:01] Make sure the repository and the branch exist and you have write access to it, and then reboot the app.
Here are some key details and steps I’ve taken:
The repository is hosted on GitHub and uses Git LFS to store large model files.
I’ve confirmed that the repository and branch names have not been changed after deployment.
I have tried to redeploy the app multiple times without success.
I’ve recently performed operations like filter-branch to remove large files from the Git history, but the main files required for the app are still present.
I’d appreciate any guidance or suggestions on resolving this issue. I’m eager to get my Streamlit app up and running. Thank you in advance for your assistance!
Ensure the repository and branch names are correct and you have write access. Verify Git LFS is set up properly for large model files. If you’ve altered the Git history, ensure essential files are still present. Retry deployment after confirming these steps.
I saw your code and it appears that you are loading the model- I assume this is why you are using GitHub LFS for.
I would suggest you use Streamlit LLM Hackathon’s sponsor, clarative.ai- you can host your model on their platform for free and just access the model through their sdk and api.
If not, any model hosting service would work well and resolve your issue.