Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -167,11 +167,11 @@ if selected_app == "2) Create CSVs":
|
|
167 |
st.error(st.session_state.error)
|
168 |
|
169 |
if st.session_state.success != None:
|
170 |
-
st.success("Success! Download the Q/A pairs below /
|
171 |
st.download_button(
|
172 |
label=f"Download CSV: length = {st.session_state.success[1]}",
|
173 |
data=st.session_state.success[0],
|
174 |
-
file_name='
|
175 |
mime='text/csv',
|
176 |
)
|
177 |
if st.button('Reset'):
|
|
|
167 |
st.error(st.session_state.error)
|
168 |
|
169 |
if st.session_state.success != None:
|
170 |
+
st.success("Success! Download the Q/A pairs below / Repeat for all your PDFs with the 'Reset' button")
|
171 |
st.download_button(
|
172 |
label=f"Download CSV: length = {st.session_state.success[1]}",
|
173 |
data=st.session_state.success[0],
|
174 |
+
file_name=f'{st.session_state.sucess[1]_questions_answers.csv',
|
175 |
mime='text/csv',
|
176 |
)
|
177 |
if st.button('Reset'):
|