KeshavRa commited on
Commit
e837c56
·
verified ·
1 Parent(s): 9a2cd44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 / Click reset to upload more PDFs")
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='questions_answers.csv',
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'):