mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
add locale override capabilities
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -363,6 +363,8 @@ def temp_disable_extensions():
|
||||
theme_name = modules.shared.cmd_opts.theme
|
||||
else:
|
||||
theme_name = f'{modules.shared.opts.theme_type.lower()}/{modules.shared.opts.gradio_theme}'
|
||||
if modules.shared.cmd_opts.locale is not None:
|
||||
modules.shared.opts.ui_locale = modules.shared.cmd_opts.locale
|
||||
|
||||
if theme_name == 'lobe':
|
||||
disable_themes.remove('sd-webui-lobe-theme')
|
||||
|
||||
Reference in New Issue
Block a user