sami606713 commited on
Commit
b6ffb9a
·
verified ·
1 Parent(s): 08a6cbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -58,5 +58,6 @@ st.title('Medical Report Summerization')
58
 
59
  text=st.text_area("Enter report here:\n",height=250)
60
  if st.button("Summarize"):
61
- result=summerize_text(text)
62
- st.write(f"*{result}*")
 
 
58
 
59
  text=st.text_area("Enter report here:\n",height=250)
60
  if st.button("Summarize"):
61
+ with st.spinner("Summarizing..."): # Changed to st.spinner for a spinner effect
62
+ result = summerize_text(text)
63
+ st.write(f"*{result}*")