Hello everyone.
I would like to respectfully seek some expert advice in debugging a problem I’ve encountered when deploying my Streamlit app. I noticed that it can’t get past the “Starting Up Repository” and “Cloning Repository” steps. It just goes on an infinite loop.
I’ve already tried the following debugging actions to no avail:
- Rebooted the app deployment process
- Refreshed the app deployment process
- Deleted the existing app and initiated a new app deployment (same app name)
- Deleted the existing app and initiated a new deployment (different app name)
- Revised my GitHub .gitignore file to exclude tracking folders with huge file sizes
- Updated my source GitHub repository to shorten folder paths for files that my app uses
- Initiated the app deployment with or without VPN
- Allowed the deployment process to run overnight
In case it helps, these are some additional info:
- The app has been tested successfully when implemented locally
- This is my 3rd deployed app. I did not have issues with my previous two (Scikit-Learn-based models). But this is the first time I’m deploying a CNN model (Keras-based model).
- Total file size must be around 115 MB.
- While in the process of finalizing the app, I’ve intermittently performed app deployment and there was one instance where it was deployed successfully. But I’ve pushed changes to my GitHub repository since then that prompted the app to refresh.
- I can’t typically connect to the web without a VPN due to access restrictions in the country where I’m currently residing.
Any help would be appreciated. Thank you!
Attached below are details about my application:
App Description:
CNN model for image classification using Keras and post-prediction visualization using gradient class activation mapping (Grad-CAM) for results interpretation.
Package Versions:
- Python = 3.12
- Streamlit = 1.38.0
- Keras = 3.6.0
- Tensorflow = 2.18.0
Link to Deployed App:
Public App (Deployed on Community Cloud)
Link to Source GitHub Repository:
App’s Public GitHub Repository
Streamlit Log: