Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -45,10 +45,10 @@ iface = gr.Interface(
|
|
45 |
fn=tts_inference,
|
46 |
inputs=[
|
47 |
gr.Textbox(label="Input text here"),
|
48 |
-
gr.Audio(source="upload", type="filepath", label="Upload reference audio")
|
49 |
gr.Dropdown(["en", "zh"], label="Select language"),
|
50 |
],
|
51 |
-
outputs=gr.Audio(label="
|
52 |
title="TTS Demo",
|
53 |
description="Enter some text and listen to the generated speech."
|
54 |
)
|
|
|
45 |
fn=tts_inference,
|
46 |
inputs=[
|
47 |
gr.Textbox(label="Input text here"),
|
48 |
+
gr.Audio(source="upload", type="filepath", label="Upload reference audio"),
|
49 |
gr.Dropdown(["en", "zh"], label="Select language"),
|
50 |
],
|
51 |
+
outputs=gr.Audio(label="Generated audio"),
|
52 |
title="TTS Demo",
|
53 |
description="Enter some text and listen to the generated speech."
|
54 |
)
|