Update app.py
Browse files
app.py
CHANGED
@@ -98,9 +98,9 @@ def main():
|
|
98 |
def change_photo_state():
|
99 |
st.session_state["photo"]="done"
|
100 |
st.subheader("Summary section, feed your image!")
|
101 |
-
camera_photo = st.camera_input("Take a photo", on_change=change_photo_state)
|
102 |
-
uploaded_photo = st.file_uploader("Upload Image",type=['jpg','png','jpeg'], on_change=change_photo_state)
|
103 |
-
message = st.text_input("Or, drop your text here!")
|
104 |
if "photo" not in st.session_state:
|
105 |
st.session_state["photo"]="not done"
|
106 |
|
|
|
98 |
def change_photo_state():
|
99 |
st.session_state["photo"]="done"
|
100 |
st.subheader("Summary section, feed your image!")
|
101 |
+
camera_photo = st.camera_input("Take a photo, Containing English or Bangla texts", on_change=change_photo_state)
|
102 |
+
uploaded_photo = st.file_uploader("Upload Image, Containing English or Bangla texts",type=['jpg','png','jpeg'], on_change=change_photo_state)
|
103 |
+
message = st.text_input("Or, drop your text here, only English text!")
|
104 |
if "photo" not in st.session_state:
|
105 |
st.session_state["photo"]="not done"
|
106 |
|