mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Corrected Conditional Check
This commit is contained in:
@@ -266,7 +266,7 @@ def start_ui():
|
||||
favicon_path='html/logo.ico',
|
||||
allowed_paths=[os.path.dirname(__file__), cmd_opts.data_dir],
|
||||
app_kwargs=fastapi_args,
|
||||
_frontend=not cmd_opts.share,
|
||||
_frontend=True and cmd_opts.share,
|
||||
)
|
||||
if cmd_opts.data_dir is not None:
|
||||
ui_tempdir.register_tmp_file(shared.demo, os.path.join(cmd_opts.data_dir, 'x'))
|
||||
|
||||
Reference in New Issue
Block a user