Corrected Conditional Check

This commit is contained in:
Midcoastal
2024-01-04 14:55:25 -05:00
parent a8c779a54d
commit 1778d37040
+1 -1
View File
@@ -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'))