salomonsky commited on
Commit
dfbd70c
·
verified ·
1 Parent(s): b3e176c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def voice_clone(text: str, speaker_wav: str, language: str):
21
  iface = gr.Interface(fn=voice_clone, theme="Nymbo/Nymbo_Theme",
22
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
23
  gr.Audio(type="filepath", label="Upload audio file"),
24
- gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="language"),
25
  ],
26
  outputs=gr.Audio(type="filepath", label="Generated audio file"),
27
  title="Voice Cloning")
 
21
  iface = gr.Interface(fn=voice_clone, theme="Nymbo/Nymbo_Theme",
22
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
23
  gr.Audio(type="filepath", label="Upload audio file"),
24
+ gr.Radio(['es', 'en'], label="language"),
25
  ],
26
  outputs=gr.Audio(type="filepath", label="Generated audio file"),
27
  title="Voice Cloning")