My app stops running and displays a vague error message. It can stop at any time and anywhere during the execution of the code without providing a clear explanation. The only option is to rerun it after a reboot. Interestingly, the same app runs successfully without any errors when executed from GitHub Codespaces. I would greatly appreciate it if any member of the forum could help identify the problem and provide a solution. Required links/information are listed below:-
- The link to the public app (deployed on Community Cloud):
https://text-summarizer-app-umarsb61.streamlit.app/ - The links app’s public GitHub repository (including a requirements file):
GitHub - UmarSaleem61/text-summarizer-app: This app summarizes user-uploaded text files (TXT, DOCX, or PDF). It generates a concise summary using the Generative-AI LLM model: facebook/bart-large-cnn. The summary can be downloaded in TXT, DOCX, or PDF format. The app was designed and implemented with the assistance of ChatGPT. The app is deployed on Streamlit.
text-summarizer-app/.devcontainer at main · UmarSaleem61/text-summarizer-app · GitHub
text-summarizer-app/app.py at main · UmarSaleem61/text-summarizer-app · GitHub
text-summarizer-app/requirements.txt at main · UmarSaleem61/text-summarizer-app · GitHub - Full text of the error message (not a screenshot):
Oh no. Error running app. If you need help, try the Streamlit docs and forums.
(Streamlit Log is also available but I don’t know how to attach it) - The Streamlit and Python versions:
Streamlit version: 1.41.1
Python version: 3.12.8