Usually3 commited on
Commit
67d3f5e
·
1 Parent(s): 118956b

Update app.py

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