Commit ·
543bb48
1
Parent(s): 0b96bf5
Update app.py
Browse files23 unmodified lines242526272829303123 unmodified linesreturn "output.wav"iface = gr.Interface(fn=voice_clone,inputs=["text", gr.Audio(type="filepath"), gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="Язык речи")],outputs=gr.Audio(type="filepath"),title="Voice Clone")iface.launch()23 unmodified lines242526272829303123 unmodified linesreturn "output.wav"iface = gr.Interface(fn=voice_clone,inputs=["text", gr.Audio(type="filepath", label="Загрузить аудиофайл"), gr.Radio(['ru', 'en', 'zh-cn', 'ja', 'de', 'fr', 'it', 'pt', 'pl', 'tr', 'ko', 'nl', 'cs', 'ar', 'es', 'hu'], label="Выбрать язык")],outputs=gr.Audio(type="filepath", label="Сгенерированный аудиофайл"),title="Голосовое клонированние")iface.launch()
app.py+3-3