Summary
In my code, I use some different widgets like the st.upload, st.data_editor and st.button. The CRUD app does what it shall do … but I have a strange behaviour.
During upload (process takes some seconds) as well as after clicking the button (after that also a process starts) any widget (e.g. the data_editor, the button, OR the uploader) appears then two times - one of them enabled, the other one greyed out - as long as the “running” process is finished.
When the process is finished and the app in idle, everything is fine and no double widgets.
Whats could be the problem here?
I guess it has something to do with the session_state variables.
Debug info
- Streamlit version: 1.27.2
- Python version: 3.9.17
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
Requirements file
Using Conda? PipEnv? PyEnv? Pex? Share the contents of your requirements file here.
Not sure what a requirements file is? Check out this doc and add a requirements file to your app.
Links
- Link to your GitHub repo:
- Link to your deployed app:
Additional information
If needed, add any other context about the problem here.