Summary
Share a clear and concise description of the issue. Aim for 2-3 sentences.
Steps to reproduce
Code snippet:
option = st.selectbox(
'Quel catégorie souhaitez-vous extraire ?',
(nom_catgs))
st.write('Vous avez selectionner :', option)
clé3 = "3"
for name in nom_catgs:
if option == name:
print(option)
with open('category/'+ name + '/data_'+ name + '.csv') as all:
button = st.download_button(label='Download ' + name + ' CSV', data=open('category/' + name + '/data_' + name + '.csv'),
file_name= 'data_' + name + '.csv',
mime='text/csv', key= clé3)
st.text('đŸ đ§ Votre fichier CSV sur la catĂ©gorie ' + name + ' viens d\'ĂȘtre crĂ©e.')
st.text("Vous pouvez le télécharger !")
Expected behavior:
Itâs abnormally long, the problem and that I canât access another choice in my select box. It runs to the top left and it spins indefinitelyâŠ
FileNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if youâre on Streamlit Cloud, click on âManage appâ in the lower right of your app).
.
Debug info
- Streamlit version: Streamlit, version 1.14.0
- Python version: Python 3.9.13
- Using PyEnv
- OS version: Window 10
- Browser version:Google Chrome
Requirements file
Links
- Link to your GitHub repo: GitHub - WolfSilver0509/Scrapping_P2_StreamLit
- Link to your deployed app: https://wolfsilver0509-scrapping-p2-streamlit-main-ht9ia3.streamlit.app/
Additional information
Please help me , i donât understand why is not good ?
I read other topic about it , but the result of other topic donât good for my test !
I dont understand why file not foud because itâs good for juste one on my Step 2
That for my step 3 itâs doesnât work .
Sorry for my english , Iâam french !