fixed the script directory
This commit is contained in:
parent
363ffb7d1a
commit
82be5b237f
1 changed files with 2 additions and 2 deletions
|
|
@ -526,8 +526,8 @@ def load_model_defaults(model_name: str) -> Dict[str, Any]:
|
|||
"""
|
||||
try:
|
||||
# Get the script directory to locate configs
|
||||
script_dir = Path(__file__).parent.parent
|
||||
defaults_dir = script_dir / "configs" / "model_defaults"
|
||||
script_dir = Path(__file__).parent.parent.parent
|
||||
defaults_dir = script_dir / "assets" / "configs" / "model_defaults"
|
||||
|
||||
# First, check if model is in the mapping
|
||||
if model_name in _REVERSE_MODEL_MAPPING:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue