Paula Leonova
commited on
Commit
·
4787e82
1
Parent(s):
633f6ea
Update loading note
Browse files
app.py
CHANGED
|
@@ -32,11 +32,9 @@ with st.form(key='my_form'):
|
|
| 32 |
submit_button = st.form_submit_button(label='Submit')
|
| 33 |
|
| 34 |
|
| 35 |
-
with st.spinner('Loading pretrained models...'):
|
| 36 |
summarizer = load_summary_model()
|
| 37 |
classifier = load_model()
|
| 38 |
-
st.success('Ready for inference...')
|
| 39 |
-
|
| 40 |
|
| 41 |
|
| 42 |
if submit_button:
|
|
|
|
| 32 |
submit_button = st.form_submit_button(label='Submit')
|
| 33 |
|
| 34 |
|
| 35 |
+
with st.spinner('Loading pretrained models (_please allow for 20 seconds_...'):
|
| 36 |
summarizer = load_summary_model()
|
| 37 |
classifier = load_model()
|
|
|
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
if submit_button:
|