nebi commited on
Commit
c66dfd5
·
verified ·
1 Parent(s): 2436474

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -1
src/streamlit_app.py CHANGED
@@ -209,9 +209,11 @@ if st.session_state.current_image is not None and st.session_state.started is Fa
209
  st.session_state.started=True
210
 
211
  with col1:
212
- if st.button("Start",disabled=st.session_state.started):
213
  if not st.session_state.started:
214
  fetch_image()
 
 
215
 
216
 
217
  # Display the current image
 
209
  st.session_state.started=True
210
 
211
  with col1:
212
+ if st.button("Start",key="started",disabled=st.session_state.started):
213
  if not st.session_state.started:
214
  fetch_image()
215
+ st.button("Start",key="started",disabled=True)
216
+
217
 
218
 
219
  # Display the current image