Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,11 +80,11 @@ if button:
|
|
80 |
#elif model == "Encoder-Decoder":
|
81 |
#st.write("You have selected Encoder-Decoder model.")
|
82 |
|
83 |
-
st.toast("Please wait while we summarize your text.")
|
84 |
-
with st.spinner("Summarizing..."):
|
85 |
-
|
86 |
-
|
87 |
-
time.sleep(
|
88 |
st.write("Your summarized text is:")
|
89 |
st.write(summary)
|
90 |
else:
|
|
|
80 |
#elif model == "Encoder-Decoder":
|
81 |
#st.write("You have selected Encoder-Decoder model.")
|
82 |
|
83 |
+
#st.toast("Please wait while we summarize your text.")
|
84 |
+
#with st.spinner("Summarizing..."):
|
85 |
+
# time.sleep(5)
|
86 |
+
# st.toast("Done!!",icon="π")
|
87 |
+
time.sleep(15)
|
88 |
st.write("Your summarized text is:")
|
89 |
st.write(summary)
|
90 |
else:
|