Zachary Greathouse commited on
Commit
4cf886a
·
unverified ·
1 Parent(s): c0a60aa

Zg/remove download btns (#9)

Browse files

Remove download button from audio players

Files changed (1) hide show
  1. src/frontend.py +2 -0
src/frontend.py CHANGED
@@ -455,6 +455,7 @@ class Frontend:
455
  label=constants.OPTION_A_LABEL,
456
  type="filepath",
457
  interactive=False,
 
458
  )
459
  vote_button_a = gr.Button(constants.SELECT_OPTION_A, interactive=False)
460
  vote_result_a = gr.Textbox(
@@ -470,6 +471,7 @@ class Frontend:
470
  label=constants.OPTION_B_LABEL,
471
  type="filepath",
472
  interactive=False,
 
473
  )
474
  vote_button_b = gr.Button(constants.SELECT_OPTION_B, interactive=False)
475
  vote_result_b = gr.Textbox(
 
455
  label=constants.OPTION_A_LABEL,
456
  type="filepath",
457
  interactive=False,
458
+ show_download_button=False,
459
  )
460
  vote_button_a = gr.Button(constants.SELECT_OPTION_A, interactive=False)
461
  vote_result_a = gr.Textbox(
 
471
  label=constants.OPTION_B_LABEL,
472
  type="filepath",
473
  interactive=False,
474
+ show_download_button=False,
475
  )
476
  vote_button_b = gr.Button(constants.SELECT_OPTION_B, interactive=False)
477
  vote_result_b = gr.Textbox(