JoanGiner commited on
Commit
00ecc15
·
1 Parent(s): 57d14b1
Files changed (1) hide show
  1. sdc_view.py +2 -2
sdc_view.py CHANGED
@@ -332,7 +332,7 @@ def render_sdc():
332
  with colt:
333
  if st.button("Load Besser's diversity card", type="secondary"):
334
  unflattenedJson = load_state()
335
-
336
  ##
337
  ## Master info
338
  ##
@@ -479,7 +479,7 @@ def render_sdc():
479
  st.download_button(
480
  label="Download JSON",
481
  data=session_state_json,
482
- file_name=f"{st.session_state['master_title']}_diveristy_card.json",
483
  mime="application/json"
484
  )
485
  # Display the session state as pretty JSON
 
332
  with colt:
333
  if st.button("Load Besser's diversity card", type="secondary"):
334
  unflattenedJson = load_state()
335
+
336
  ##
337
  ## Master info
338
  ##
 
479
  st.download_button(
480
  label="Download JSON",
481
  data=session_state_json,
482
+ file_name=f"{st.session_state.form_state['master_title']}_diveristy_card.json",
483
  mime="application/json"
484
  )
485
  # Display the session state as pretty JSON