Iām struggling on deploying my first streamlit app.
It works on the local way and itās very difficult for me to understand where are the problems.
Here the things Iāve already corrected.
Iāve already add the requirement files and correct some stuff.
But now I realized that my ācheckpoint_vgg16_3.data-00000-of-00001ā file is too big for GITHUB.
So I put this file on my GoogleDrive but I donāt understand how to use it in the file ādonnees.pyā for the ādef load_vgg16_cnn_modelā (line 116 )
I think itās the problem but myabe itās something else.
Please note that I am able to run the application using my local machine. It would be really helpful if you can look into this and let me know if there is something that I am missing or what needs to be done to deploy the app.
I am sharing the link to my public repo : git repo
To access a file stored in Google Drive from your Streamlit app, youāll probably want to use Google Driveās API ā thereās a pretty thorough writeup here that covers how to download files via that API.
If the file is under 1GB, I think youād have an easier time using Git LFS to store it instead
Thank you.
With my own research I found the solution of Git LFS. To be honest Iām very new in using all those tools.
Iāve already installed LFS in my computer. But I donāt really understand how to use it. In the cmd command, it say that GIT LFS is initalized but I donāt understanf where to put my file. My file is 59 106Ko.
Thereās a decent tutorial here on using Git LFS and this article is pretty helpful as well. Basically, you tell Git LFS what type of files you want it to manage ā e.g. if you want to track all .png files with Git LFS: