Nymbo commited on
Commit
a6232eb
1 Parent(s): f4cccdf
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def voice_clone(text: str, speaker_wav: str, language: str):
23
  tts.tts_to_file(text=text, speaker_wav=speaker_wav, language=language, file_path="output.wav")
24
  return "output.wav"
25
 
26
- iface = gr.Interface(fn=voice_clone, theme="Nymbo/Alyx_Theme",
27
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
28
  gr.Audio(type="filepath", label="Upload audio file"),
29
  gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="language"),
 
23
  tts.tts_to_file(text=text, speaker_wav=speaker_wav, language=language, file_path="output.wav")
24
  return "output.wav"
25
 
26
+ iface = gr.Interface(fn=voice_clone, theme="Nymbo/Nymbo_Theme",
27
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
28
  gr.Audio(type="filepath", label="Upload audio file"),
29
  gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="language"),