Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,7 @@ if summarize:
|
|
225 |
text_to_summarize = clean_text
|
226 |
|
227 |
with st.spinner(
|
228 |
-
text="Loading
|
229 |
):
|
230 |
summarizer_model = schleifer_model()
|
231 |
summarized_text = summarizer_model(text_to_summarize, max_length=100, min_length=30)
|
|
|
225 |
text_to_summarize = clean_text
|
226 |
|
227 |
with st.spinner(
|
228 |
+
text="Loading Sshleifer-DistilBart Model and Extracting summary. This might take a few seconds depending on the length of your text..."
|
229 |
):
|
230 |
summarizer_model = schleifer_model()
|
231 |
summarized_text = summarizer_model(text_to_summarize, max_length=100, min_length=30)
|