Spaces:
Running
Running
Update app.py
Browse files
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.")
|