Update app.py
Browse files
app.py
CHANGED
@@ -27,12 +27,12 @@ st.title('Medical Abstract Reader')
|
|
27 |
with st.container():
|
28 |
text = st.text_area('Classify medical abstract into various categories.', height=600, key='text')
|
29 |
|
30 |
-
submit = st.button('Predict'
|
31 |
|
32 |
def clear_text():
|
33 |
st.session_state["text"] = ""
|
34 |
|
35 |
-
clear = st.button("Clear text input", on_click=clear_text
|
36 |
|
37 |
if submit:
|
38 |
if text is not None:
|
|
|
27 |
with st.container():
|
28 |
text = st.text_area('Classify medical abstract into various categories.', height=600, key='text')
|
29 |
|
30 |
+
submit = st.button('Predict')
|
31 |
|
32 |
def clear_text():
|
33 |
st.session_state["text"] = ""
|
34 |
|
35 |
+
clear = st.button("Clear text input", on_click=clear_text)
|
36 |
|
37 |
if submit:
|
38 |
if text is not None:
|