Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ st.subheader('Upload paper in pdf format')
|
|
| 72 |
# for summ in summ_text:
|
| 73 |
# st.write(summ)
|
| 74 |
|
| 75 |
-
if '
|
| 76 |
with open('slides_text.pkl', 'rb') as file:
|
| 77 |
summ_text = pickle.load(file)
|
| 78 |
|
|
|
|
| 72 |
# for summ in summ_text:
|
| 73 |
# st.write(summ)
|
| 74 |
|
| 75 |
+
if 'summ_text' not in locals():
|
| 76 |
with open('slides_text.pkl', 'rb') as file:
|
| 77 |
summ_text = pickle.load(file)
|
| 78 |
|