realfreko commited on
Commit
2cf4fe2
1 Parent(s): eb38e08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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', use_container_width=True)
31
 
32
  def clear_text():
33
  st.session_state["text"] = ""
34
 
35
- clear = st.button("Clear text input", on_click=clear_text, use_container_width=True)
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: