mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 16:07:46 +00:00
f20dc4482b
* upload example code for model implementation * Refactor Model Implement * add export --------- Co-authored-by: Young <afe.young@gmail.com>
11 lines
380 B
Python
11 lines
380 B
Python
from pathlib import Path
|
|
from pydantic_settings import BaseSettings
|
|
|
|
class ModelImplSettings(BaseSettings):
|
|
workspace_path: Path = Path("./git_ignore_folder/model_imp_workspace/") # Added type annotation for work_space
|
|
|
|
class Config:
|
|
env_prefix = 'MODEL_IMPL_' # Use MODEL_IMPL_ as prefix for environment variables
|
|
|
|
MODEL_IMPL_SETTINGS = ModelImplSettings()
|