Update app.py
Browse files
app.py
CHANGED
|
@@ -69,11 +69,10 @@ def main():
|
|
| 69 |
#### Description
|
| 70 |
This is a Natural Language Processing(NLP) Based Application useful for basic NLP tasks
|
| 71 |
Named Entity Recognition, Sentiment Analysis, Spell Corrections, Human Level Text Generation, and Summarization.
|
| 72 |
-
Please, feed images/texts first to access available features/services!
|
| 73 |
""")
|
| 74 |
def change_photo_state():
|
| 75 |
st.session_state["photo"]="done"
|
| 76 |
-
st.subheader("Please, feed
|
| 77 |
message = st.text_input("Or, type/drop your text here!")
|
| 78 |
camera_photo = st.camera_input("Take a photo, Containing English or Bangla texts", on_change=change_photo_state)
|
| 79 |
uploaded_photo = st.file_uploader("Upload Image, Containing English or Bangla texts",type=['jpg','png','jpeg'], on_change=change_photo_state)
|
|
|
|
| 69 |
#### Description
|
| 70 |
This is a Natural Language Processing(NLP) Based Application useful for basic NLP tasks
|
| 71 |
Named Entity Recognition, Sentiment Analysis, Spell Corrections, Human Level Text Generation, and Summarization.
|
|
|
|
| 72 |
""")
|
| 73 |
def change_photo_state():
|
| 74 |
st.session_state["photo"]="done"
|
| 75 |
+
st.subheader("Please, feed images/texts first to see available features/services!")
|
| 76 |
message = st.text_input("Or, type/drop your text here!")
|
| 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)
|