VoiceCloning-be commited on
Commit
ab027e1
1 Parent(s): 2306143

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def voice_clone(text: str, speaker_wav: str, language: str):
26
 
27
  iface = gr.Interface(fn=voice_clone,
28
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
29
- gr.Audio(type="filepath", label="Upload audio file"),
30
  gr.Radio(['nl', 'fr', 'en', 'zh-cn', 'ja', 'de', 'it', 'pt', 'pl', 'tr', 'ko', 'cs', 'ar', 'es', 'hu'], label="language"),
31
  ],
32
  outputs=gr.Audio(type="filepath", label="Generated audio file"),
 
26
 
27
  iface = gr.Interface(fn=voice_clone,
28
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
29
+ gr.Audio(type="filepath", label="Upload your voice example"),
30
  gr.Radio(['nl', 'fr', 'en', 'zh-cn', 'ja', 'de', 'it', 'pt', 'pl', 'tr', 'ko', 'cs', 'ar', 'es', 'hu'], label="language"),
31
  ],
32
  outputs=gr.Audio(type="filepath", label="Generated audio file"),