Graduation_Project/QN/RecipeRetrieval/hydra/config_class.py

12 lines
192 B
Python

# import hydra
from dataclasses import dataclass
# from omegaconf import OmegaConf
@dataclass
class DefaultCfg:
model: str
train: str
@dataclass
class Config:
default: DefaultCfg