Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,14 +65,14 @@ option = st.selectbox(
|
|
| 65 |
)
|
| 66 |
|
| 67 |
|
| 68 |
-
|
| 69 |
col1, col2 = st.columns(2)
|
| 70 |
|
| 71 |
col1.title('Input')
|
| 72 |
col1.container(height=500, border=True).text_area("", option, height=1000)
|
| 73 |
if col1.button("Summarize"):
|
| 74 |
-
with st.spinner('Wait for it...'):
|
| 75 |
-
|
| 76 |
|
| 77 |
|
| 78 |
col2.title('Output')
|
|
|
|
| 65 |
)
|
| 66 |
|
| 67 |
|
| 68 |
+
summary_output = ""
|
| 69 |
col1, col2 = st.columns(2)
|
| 70 |
|
| 71 |
col1.title('Input')
|
| 72 |
col1.container(height=500, border=True).text_area("", option, height=1000)
|
| 73 |
if col1.button("Summarize"):
|
| 74 |
+
#with st.spinner('Wait for it...'):
|
| 75 |
+
summary_output = summarize_text(option)
|
| 76 |
|
| 77 |
|
| 78 |
col2.title('Output')
|