Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ iface = gr.Interface(
|
|
45 |
fn=tts_inference,
|
46 |
inputs=[
|
47 |
gr.Textbox(label="Input text here"),
|
48 |
-
gr.Audio(
|
49 |
gr.Dropdown(["en", "zh"], label="Select language"),
|
50 |
],
|
51 |
outputs=gr.Audio(label="Generated audio"),
|
|
|
45 |
fn=tts_inference,
|
46 |
inputs=[
|
47 |
gr.Textbox(label="Input text here"),
|
48 |
+
gr.Audio(type="filepath", label="Upload reference audio"),
|
49 |
gr.Dropdown(["en", "zh"], label="Select language"),
|
50 |
],
|
51 |
outputs=gr.Audio(label="Generated audio"),
|