Soumen commited on
Commit
cbeb9b6
·
1 Parent(s): eaedd73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -95,6 +95,8 @@ def main():
95
  if st.checkbox("Summarize from text/images/pdfs"):
96
  with st.container():
97
  message = c1.text_input("Type your text here!")
 
 
98
  if c2.button("CaptureImage"):
99
  camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
100
  if c2.button("Stop camera"):
 
95
  if st.checkbox("Summarize from text/images/pdfs"):
96
  with st.container():
97
  message = c1.text_input("Type your text here!")
98
+ uploaded_photo=None
99
+ camera_photo=None
100
  if c2.button("CaptureImage"):
101
  camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
102
  if c2.button("Stop camera"):