Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,7 @@ if st.button("Process"):
|
|
| 32 |
summarized_text = summary[0]['summary_text']
|
| 33 |
except Exception as e:
|
| 34 |
st.error(f"Error during summarization: {e}")
|
|
|
|
| 35 |
|
| 36 |
if summarized_text:
|
| 37 |
try:
|
|
|
|
| 32 |
summarized_text = summary[0]['summary_text']
|
| 33 |
except Exception as e:
|
| 34 |
st.error(f"Error during summarization: {e}")
|
| 35 |
+
summarized_text = ""
|
| 36 |
|
| 37 |
if summarized_text:
|
| 38 |
try:
|