Soumen commited on
Commit
0a7287e
1 Parent(s): 4b6d85d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,9 +97,9 @@ def main():
97
  """)
98
  def change_photo_state():
99
  st.session_state["photo"]="done"
100
- st.subheader("Please, feed your image/text, features/services will appear automatically!")
101
- message = st.text_input("Type your text here!")
102
- camera_photo = st.camera_input("Take a photo, Containing English or Bangla texts", on_change=change_photo_state)
103
  uploaded_photo = st.file_uploader("Upload Image/PDF, Containing English or Bangla texts",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state)
104
  if "photo" not in st.session_state:
105
  st.session_state["photo"]="not done"
 
97
  """)
98
  def change_photo_state():
99
  st.session_state["photo"]="done"
100
+ st.subheader("Please, feed your image/text, features/services will appear automatically!")
101
+ message = st.text_input("Type your text here!")
102
+ camera_photo = st.camera_input("Take a photo, Containing English or Bangla texts", on_change=change_photo_state)
103
  uploaded_photo = st.file_uploader("Upload Image/PDF, Containing English or Bangla texts",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state)
104
  if "photo" not in st.session_state:
105
  st.session_state["photo"]="not done"