Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
62 |
-
|
|
|
|
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}*")
|