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.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.