Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,9 +72,10 @@ st.subheader('Upload paper in pdf format')
|
|
72 |
# for summ in summ_text:
|
73 |
# st.write(summ)
|
74 |
|
75 |
-
|
76 |
-
with open('slides_text.pkl', 'rb') as file:
|
77 |
-
|
|
|
78 |
|
79 |
# Function to render HTML content
|
80 |
def render_html(text):
|
|
|
72 |
# for summ in summ_text:
|
73 |
# st.write(summ)
|
74 |
|
75 |
+
if 'variable_name' not in locals():
|
76 |
+
with open('slides_text.pkl', 'rb') as file:
|
77 |
+
summ_text = pickle.load(file)
|
78 |
+
|
79 |
|
80 |
# Function to render HTML content
|
81 |
def render_html(text):
|