Update app.py
Browse files
app.py
CHANGED
@@ -72,10 +72,10 @@ def main():
|
|
72 |
""")
|
73 |
def change_photo_state():
|
74 |
st.session_state["photo"]="done"
|
75 |
-
st.subheader("
|
|
|
76 |
camera_photo = st.camera_input("Take a photo, Containing English or Bangla texts", on_change=change_photo_state)
|
77 |
uploaded_photo = st.file_uploader("Upload Image, Containing English or Bangla texts",type=['jpg','png','jpeg'], on_change=change_photo_state)
|
78 |
-
message = st.text_input("Or, drop your text here, only English text!")
|
79 |
if "photo" not in st.session_state:
|
80 |
st.session_state["photo"]="not done"
|
81 |
|
|
|
72 |
""")
|
73 |
def change_photo_state():
|
74 |
st.session_state["photo"]="done"
|
75 |
+
st.subheader("Please, feed your image!")
|
76 |
+
message = st.text_input("Or, drop your text here, only English text!")
|
77 |
camera_photo = st.camera_input("Take a photo, Containing English or Bangla texts", on_change=change_photo_state)
|
78 |
uploaded_photo = st.file_uploader("Upload Image, Containing English or Bangla texts",type=['jpg','png','jpeg'], on_change=change_photo_state)
|
|
|
79 |
if "photo" not in st.session_state:
|
80 |
st.session_state["photo"]="not done"
|
81 |
|