Hello!
It seems that a while back the streamlit interface option was removed from huggingface. There is a docker container with Streamlit, but when I choose it for a new space, it turns out that it contains an older python version than before and, more importantly, the app that I prepared earlier does not run properly. Does not run at all, in fact. Am I doing anything wrong, or is it the huggingface’s fault?
1 Like
It should work as described in the documentation, and there are no issues reported regarding the documentation. It may just be a bug. @meganariley
opened 04:27PM - 11 May 25 UTC
status:awaiting-user-response
feature:community-cloud
type:not-issue
### Checklist
- [x] I have searched the [existing issues](https://github.com/st… reamlit/streamlit/issues) for similar issues.
- [x] I added a very descriptive title to this issue.
- [x] I have provided sufficient information below to help reproduce this issue.
### Summary
**Subject: Application Not Starting - "The main module file does not exist" Despite File Presence**
Hello,
I'm experiencing a critical issue with my Streamlit Cloud application that fails to start properly.
**Problem Description:**
- Application URL: [your-streamlit-app-URL]
- Error message: "The main module file does not exist: /mount/src/mja-poc-oc-p9/app.py"
- The app.py file definitely exists at the root of my GitHub repository and is correctly configured
- I've verified the project structure, all necessary files are present
- I've attempted multiple restarts/redeployments without success
**Technical Details:**
- GitHub Repository: [your-repo-URL]
- Project structure: app.py is present at the root, with models/ and utils/ folders correctly configured
- Logs show that Streamlit cannot find the app.py file although it's visible in GitHub
- I'm using Python 3.x with TensorFlow/Keras to load an ML model from Hugging Face
**What I've Already Tried:**
- Restarting the application from the dashboard
- Forcing redeployment via minor commits
- Checking all configuration parameters
- Using optimized code to load the model with TFSMLayer
**Suspicions:**
There seems to be a synchronization issue between GitHub and Streamlit Cloud, or a caching problem preventing Streamlit from finding my app.py file.
Could you please help me resolve this issue so my application can start properly?
FYI : My app is working well locally in my VM Linux
Thank you in advance,
[Your name]
### Reproducible Code Example
```Python
```
### Steps To Reproduce
_No response_
### Expected Behavior
_No response_
### Current Behavior
_No response_
### Is this a regression?
- [ ] Yes, this used to work in a previous version.
### Debug info
- Streamlit version:
- Python version:
- Operating System:
- Browser:
### Additional Information
_No response_
opened 08:21AM - 07 Aug 24 UTC
**Bug description.**
The streamlit iframe embedding in the [Embed Streamlit Spa… ces on other webpages](https://huggingface.co/docs/hub/spaces-sdks-streamlit#embed-streamlit-spaces-on-other-webpages) section points to a not maintained space. The displayed iframe keeps displaying streamlits `Please wait ...` message.
**Describe the expected behaviour**
Should just display a working streamlit space.
**Additional context**
I will open a PR to fix this.