hhguo commited on
Commit
6db40e9
·
1 Parent(s): 10b5125
Files changed (1) hide show
  1. app.py +2 -2
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
  )