Staticaliza commited on
Commit
ef88c02
·
verified ·
1 Parent(s): 8bb8aaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -444,12 +444,6 @@ def gpu():
444
  # Gradio Interface
445
  # ----------------------------
446
 
447
- for model_file in model_files:
448
- model_path = os.path.join(model_repo_dir, model_file)
449
- tts_instance = TTS(model_path)
450
- model_to_speakers[model_file] = tts_instance.get_speakers()
451
- del tts_instance
452
-
453
  with gr.Blocks(css=css) as main:
454
  with gr.Column():
455
  gr.Markdown("🪄 Add tone to audio.")
 
444
  # Gradio Interface
445
  # ----------------------------
446
 
 
 
 
 
 
 
447
  with gr.Blocks(css=css) as main:
448
  with gr.Column():
449
  gr.Markdown("🪄 Add tone to audio.")