Spaces:
Sleeping
Sleeping
Update webui.py
Browse files
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",
|
91 |
|
92 |
webui_config.experimental = get_and_update_env(
|
93 |
-
args, "webui_experimental",
|
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)
|