Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def toggle(choice):
|
|
44 |
return gr.update(visible=False, value=None), gr.update(visible=True, value=None)
|
45 |
|
46 |
def handle_language_change(choice):
|
47 |
-
if choice == "zh-CN" or choice == "de" or choice == "es" or choice fr-fr or choice pt-br or en:
|
48 |
return gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
49 |
|
50 |
warming_text = """Please note that Chinese, German, and Spanish are currently not supported for voice cloning."""
|
|
|
44 |
return gr.update(visible=False, value=None), gr.update(visible=True, value=None)
|
45 |
|
46 |
def handle_language_change(choice):
|
47 |
+
if choice == "zh-CN" or choice == "de" or choice == "es" or choice "fr-fr" or choice "pt-br" or "en" :
|
48 |
return gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
49 |
|
50 |
warming_text = """Please note that Chinese, German, and Spanish are currently not supported for voice cloning."""
|