Gyani25K commited on
Commit
2c0eb50
1 Parent(s): deeed25

Updated Language Short form

Browse files

Complete Language Name will make it easier for systems to handle and display content correctly based on user preferences or requirements.

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
  iface = gr.Interface(fn=voice_clone,
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"),
30
  ],
31
  outputs=gr.Audio(type="filepath", label="Generated audio file"),
32
  title="Voice Cloning")
 
26
  iface = gr.Interface(fn=voice_clone,
27
  inputs=[gr.Textbox(lines=2, placeholder="Enter the text...", label="Text"),
28
  gr.Audio(type="filepath", label="Upload audio file"),
29
+ gr.Radio(['Russian', 'English', 'Chinese (Simplified)', 'Japanese', 'German', 'French', 'Italian', 'Portuguese', 'Polish', 'Turkish', 'Korean', 'Dutch', 'Czech', 'Arabic', 'Spanish', 'Hungarian'], label="language"),
30
  ],
31
  outputs=gr.Audio(type="filepath", label="Generated audio file"),
32
  title="Voice Cloning")