mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-23 01:04:01 +08:00
Update model_compiler.py
This commit is contained in:
@@ -161,7 +161,7 @@ def resolve_model_files(input_root: Path, model_key: str) -> dict[str, Path]:
|
||||
if model_key in staged:
|
||||
return staged[model_key]
|
||||
root_files = staged.get("_root")
|
||||
if root_files and set(staged) == {"_root"}:
|
||||
if root_files:
|
||||
return root_files
|
||||
return {
|
||||
component: path
|
||||
|
||||
Reference in New Issue
Block a user