pquintero commited on
Commit
d834d59
·
1 Parent(s): 1a2d1c6
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -157,14 +157,14 @@ with gr.Blocks() as demo:
157
  download_file = EXAMPLE_FILE_DICT.get(
158
  submission_type, EXAMPLE_FILE_DICT["GDPa1"]
159
  )
160
- download_message = (
161
  f"📥 Download example submission CSV for {submission_type}"
162
  )
163
  return (
164
  submission_type,
165
  download_file,
166
  gr.DownloadButton(
167
- label=download_message,
168
  value=download_file,
169
  variant="secondary",
170
  ),
 
157
  download_file = EXAMPLE_FILE_DICT.get(
158
  submission_type, EXAMPLE_FILE_DICT["GDPa1"]
159
  )
160
+ download_label = (
161
  f"📥 Download example submission CSV for {submission_type}"
162
  )
163
  return (
164
  submission_type,
165
  download_file,
166
  gr.DownloadButton(
167
+ label=download_label,
168
  value=download_file,
169
  variant="secondary",
170
  ),