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