hhguo commited on
Commit
f425faa
·
1 Parent(s): 6db40e9
Files changed (1) hide show
  1. app.py +1 -1
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(source="upload", type="filepath", label="Upload reference 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"),