Soumen commited on
Commit
2477956
·
1 Parent(s): 9b4a3a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def main():
104
  if c2.button("Stop camera"):
105
  CaptureImage =False
106
 
107
- uploaded_photo = save(c3.file_uploader("Upload your Images/PDF",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state))
108
  if st.session_state["photo"]=="done" or message:
109
  if uploaded_photo and uploaded_photo.type=='application/pdf':
110
  tet = read_pdf(uploaded_photo)
 
104
  if c2.button("Stop camera"):
105
  CaptureImage =False
106
 
107
+ uploaded_photo = c3.file_uploader("Upload your Images/PDF",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state)
108
  if st.session_state["photo"]=="done" or message:
109
  if uploaded_photo and uploaded_photo.type=='application/pdf':
110
  tet = read_pdf(uploaded_photo)