VoiceCloning-be commited on
Commit
9174963
1 Parent(s): 9d0f489

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -519,9 +519,7 @@ def infer_tts_audio(tts_voice, tts_text, play_tts):
519
  if play_tts:
520
  return [out_path], out_path
521
  return [out_path], None
522
-
523
- def download_file():
524
- return [gr.UploadButton(visible=True), gr.DownloadButton(visible=False)]
525
 
526
  def show_components_tts(value_active):
527
  return gr.update(
@@ -628,7 +626,6 @@ def get_gui(theme):
628
 
629
  down_button_gui.click(
630
  get_my_model,
631
- d = gr.DownloadButton("Download the file", visible=False)
632
  [down_url_gui],
633
  [model, indx]
634
  )
 
519
  if play_tts:
520
  return [out_path], out_path
521
  return [out_path], None
522
+
 
 
523
 
524
  def show_components_tts(value_active):
525
  return gr.update(
 
626
 
627
  down_button_gui.click(
628
  get_my_model,
 
629
  [down_url_gui],
630
  [model, indx]
631
  )