Usually3 commited on
Commit
6b3dfea
·
1 Parent(s): ff19dee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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."""