[Bugfix] Fix issue 5205, add trust-remote-code (#5213)
Signed-off-by: zhumingjue <zhumingjue@huawei.com>
This commit is contained in:
1 parent
7d75095b84
commit
4d799997d3
5 files changed
+92
-11
No files matched your search
@@ -368,6 +368,7 @@ def _run_online(stage_configs_path: str, output_path: Path) -> tuple[Image.Image
|
||||
"300",
|
||||
"--init-timeout",
|
||||
"900",
|
||||
"--trust-remote-code",
|
||||
]
|
||||
try:
|
||||
with OmniServer(MODEL_PATH, server_args, use_omni=True) as omni_server:
|
||||
|
||||
Reference in new issue
Block a user