Error when button clicked in streamlit sharing app , works fine locally

App has a button to summarize text . But on button click, its throwing an error.
Cant see the exact error log.
works fine locally

Hi @LipsaBiswas,

Thank you for sharing with the Streamlit community!

Could you please provide a code snippet or link to your app? I tried the following URL based on your screenshot but the app does not seem to be there: https://share.streamlit.io/lipsabiswas/streamlitsummarycomparer/main/app.py

Best,

Caroline

I assume this is the repo :wink:

Hi @LipsaBiswas,

It looks like the Python app file was deleted from that repository. Can you post a link to the file that you were attempting to run as your Streamlit app and/or a full screenshot of the error that you were seeing in Streamlit sharing?

Thanks,

Caroline

Yes @Caroline , in a while

image
This is from local , which is working fine.
Sharing error screenshots soon

This is how app renders
https://share.streamlit.io/lipsabiswas/streamlitsummarycomparer/main/app.py
image

Sharing the next screenshot soon

@Caroline ,
Error occurs when I enter text for Abstract textbox and click Submit.
I cant find the exact error cause.please help!
image

Yes @Franky1 , it is the repo

Lipsa

Github public repo

Error log last page screenshot

Hi @LipsaBiswas,

What version of Streamlit are you using?

Best,

Caroline

Not specified any version in requirements.txt

Hi @LipsaBiswas,

I believe this might be an issue with app resources. If you can send me the link to your app deployed with Streamlit sharing, I can temporarily increase the resources on my end to help you avoid this error.

Best,

Caroline

https://share.streamlit.io/lipsabiswas/streamlitsummarycomparer/main/app.py

Hi,
I am experiencing a similar error. I’m also implementing a summarizer with huggingface transformers library. It works well on local. I can’t see any error in my logs file.

This is my link: https://share.streamlit.io/josmunpen/mt5-generador-titulares/main
This is my repo: GitHub - josmunpen/mt5-generador-titulares
This is the end of my log file: Downloading: 99%|█████████▉| 1.19G/1.20G [00:34<00:00, 37.3MB/s][2021-05-20 16:54:34.416615]
Downloading: 99%|█████████▉| 1.19G/1.20G [00:34<00:00, 37.7MB/s][2021-05-20 16:54:34.519560]
Downloading: 100%|█████████▉| 1.20G/1.20G [00:35<00:00, 37.5MB/s][2021-05-20 16:54:34.586849]
Downloading: 100%|██████████| 1.20G/1.20G [00:35<00:00, 34.2MB/s][2021-05-20 16:54:34.587373]
2021-05-20 16:54:34.586 Lock 140081012796560 released on /home/appuser/.cache/huggingface/transformers/befb42eaf35054941ee82ac958c680b9d13bd8a21498efa69d87f33ef1e9896e.c623dd1b9b011c4105e6bb9c2083a50a1a30ad65f35da2ef97a7e307637da7d1.lock

I am using streamlit.io for my final thesis (Software Engineering), and I would be interested in having the app online at least for two months.

Thanks for your help.