Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,8 @@ def start_summarize(long_text, model):
|
|
| 32 |
summary = long_text
|
| 33 |
# if summary!="":
|
| 34 |
st.success(summary)
|
|
|
|
|
|
|
| 35 |
|
| 36 |
#end start_summarize
|
| 37 |
|
|
@@ -48,7 +50,6 @@ if start:
|
|
| 48 |
st.markdown("Summary")
|
| 49 |
with st.spinner("We are summarizing your text..."):
|
| 50 |
start_summarize(user_text, model_type)
|
| 51 |
-
st.select_slider('What do you think about the summary?', options=['Bad', 'Good', 'Excellent'], value=('Good'))
|
| 52 |
|
| 53 |
|
| 54 |
|
|
|
|
| 32 |
summary = long_text
|
| 33 |
# if summary!="":
|
| 34 |
st.success(summary)
|
| 35 |
+
st.select_slider('What do you think about the summary?', options=['Bad', 'Good', 'Excellent'], value=('Good'))
|
| 36 |
+
|
| 37 |
|
| 38 |
#end start_summarize
|
| 39 |
|
|
|
|
| 50 |
st.markdown("Summary")
|
| 51 |
with st.spinner("We are summarizing your text..."):
|
| 52 |
start_summarize(user_text, model_type)
|
|
|
|
| 53 |
|
| 54 |
|
| 55 |
|