zhzluke96 commited on
Commit
c59d697
1 Parent(s): 53eba30
Files changed (1) hide show
  1. webui.py +2 -0
webui.py CHANGED
@@ -115,6 +115,8 @@ if __name__ == "__main__":
115
  webui_config.ssml_max = get_and_update_env(args, "ssml_max_len", 5000, int)
116
  webui_config.max_batch_size = get_and_update_env(args, "max_batch_size", 8, int)
117
 
 
 
118
  webui_init()
119
  demo = create_interface()
120
 
 
115
  webui_config.ssml_max = get_and_update_env(args, "ssml_max_len", 5000, int)
116
  webui_config.max_batch_size = get_and_update_env(args, "max_batch_size", 8, int)
117
 
118
+ config.runtime_env_vars.language = "zh-CN"
119
+
120
  webui_init()
121
  demo = create_interface()
122