Soumen commited on
Commit
89429ba
·
1 Parent(s): 3df853f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ def main():
99
  if st.button("CaptureImage"):
100
  camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
101
  if st.button("Stop camera"):
102
- st.button("CaptureImage")=False
103
 
104
  uploaded_photo = save(c3.file_uploader("Upload your Images/PDF",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state))
105
  if st.session_state["photo"]=="done" or message:
 
99
  if st.button("CaptureImage"):
100
  camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
101
  if st.button("Stop camera"):
102
+ CaptureImage =False
103
 
104
  uploaded_photo = save(c3.file_uploader("Upload your Images/PDF",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state))
105
  if st.session_state["photo"]=="done" or message: