zhengr commited on
Commit
596a83d
1 Parent(s): f36cf86

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +2 -2
webui.py CHANGED
@@ -87,10 +87,10 @@ def process_webui_args(args):
87
  debug = get_and_update_env(args, "debug", False, bool)
88
  auth = get_and_update_env(args, "auth", None, str)
89
  language = get_and_update_env(args, "language", "zh-CN", str)
90
- api = get_and_update_env(args, "api", False, bool)
91
 
92
  webui_config.experimental = get_and_update_env(
93
- args, "webui_experimental", False, bool
94
  )
95
  webui_config.tts_max = get_and_update_env(args, "tts_max_len", 1000, int)
96
  webui_config.ssml_max = get_and_update_env(args, "ssml_max_len", 5000, int)
 
87
  debug = get_and_update_env(args, "debug", False, bool)
88
  auth = get_and_update_env(args, "auth", None, str)
89
  language = get_and_update_env(args, "language", "zh-CN", str)
90
+ api = get_and_update_env(args, "api", True, bool)
91
 
92
  webui_config.experimental = get_and_update_env(
93
+ args, "webui_experimental", True, bool
94
  )
95
  webui_config.tts_max = get_and_update_env(args, "tts_max_len", 1000, int)
96
  webui_config.ssml_max = get_and_update_env(args, "ssml_max_len", 5000, int)