Soumen commited on
Commit
2d1cbd4
1 Parent(s): ac35f7a

Update app.py

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