Update app.py
Browse files
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 |
-
|
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:
|