Spaces:
Runtime error
Runtime error
Eunchan Lee
commited on
Commit
·
0f7b918
1
Parent(s):
ba6b10b
21-12-13
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ with st.form(key="my_form"):
|
|
36 |
display_text = ARTICLE + "\n\n"
|
37 |
text_input = st.text_area("Input any text you want to summaryize & classify here (keep in mind very long text will take a while to process):", display_text)
|
38 |
submit_button = st.form_submit_button(label='Submit')
|
39 |
-
with st.spinner('Loading Pretrained'
|
40 |
summarizer = load_summary_model()
|
41 |
|
42 |
if submit_button:
|
|
|
36 |
display_text = ARTICLE + "\n\n"
|
37 |
text_input = st.text_area("Input any text you want to summaryize & classify here (keep in mind very long text will take a while to process):", display_text)
|
38 |
submit_button = st.form_submit_button(label='Submit')
|
39 |
+
with st.spinner('Loading Pretrained'+ model_name +'Models (_please allow for 10 seconds_)...'):
|
40 |
summarizer = load_summary_model()
|
41 |
|
42 |
if submit_button:
|