2024-06-21 16:41:34 +08:00
|
|
|
from pathlib import Path
|
2024-06-28 11:45:23 +08:00
|
|
|
|
2024-06-21 16:41:34 +08:00
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
2024-06-28 11:45:23 +08:00
|
|
|
|
2024-06-21 16:41:34 +08:00
|
|
|
class ModelImplSettings(BaseSettings):
|
|
|
|
|
workspace_path: Path = Path("./git_ignore_folder/model_imp_workspace/") # Added type annotation for work_space
|
2024-06-28 11:45:23 +08:00
|
|
|
|
2024-06-21 16:41:34 +08:00
|
|
|
class Config:
|
2024-06-28 11:45:23 +08:00
|
|
|
env_prefix = "MODEL_IMPL_" # Use MODEL_IMPL_ as prefix for environment variables
|
|
|
|
|
|
2024-06-21 16:41:34 +08:00
|
|
|
|
|
|
|
|
MODEL_IMPL_SETTINGS = ModelImplSettings()
|