I deploy my first app on streamlit and it was working perfectly fine but now it is shoing error and app is not opening here is my code
streamlit link
https://muhammadammar26627-san-fransisco-c-appstreamlit-tetorial-w8mqz3.streamlitapp.com/
I deploy my first app on streamlit and it was working perfectly fine but now it is shoing error and app is not opening here is my code
streamlit link
https://muhammadammar26627-san-fransisco-c-appstreamlit-tetorial-w8mqz3.streamlitapp.com/
Hi @MuhammadAmmar26627, welcome to the forum!
I have forked the repo and tried to deploy it and it also failed. A check on the log would indicate the source of the problem, which appears to be due to Git LFS as it seems to exceed the storage/bandwidth quota.
An excerpt of the error message from the log is appended below:
[06:51:36] 🐙 Cloning into '/app/san-fransisco-crime-classification'...
Downloading App/artifacts/bag_model56.pkl (703 MB)
Error downloading object: App/artifacts/bag_model56.pkl (5c8c271): Smudge error: Error downloading App/artifacts/bag_model56.pkl (5c8c2719e82d214ea763bd523ec2cf53e924d2dcd7e94c685522ad237f15d6ec): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
Errors logged to /app/san-fransisco-crime-classification/.git/lfs/logs/20220806T065136.442493586.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: App/artifacts/bag_model56.pkl: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
More info here:
Similar error from earlier posts:
Hope this helps
Thank you so much for indicating error. Can you suggest me some solution.
how can i upload large model files on github
Hi @MuhammadAmmar26627, the error message suggests how to solve the situation:
This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
As pointed out in the GitHub documentation it provides only 1 GB of free storage and 1 GB of free bandwidth. Since your PKL file size is 700 MB it could be used only once and would already exceed the free tier.
Thus, some possible solutions could be:
Hope this helps
Thank you I got it. Its really helpful for me
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
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.
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.
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.
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.