Spaces:
Running
Running
import yaml | |
from pathlib import Path | |
_PATH_TO_CONFIGS = Path(__file__).parents[2] / "configs" / "prompt_library.yaml" | |
with open(_PATH_TO_CONFIGS, "r") as f: | |
PROMPT_LIBRARY = yaml.safe_load(f) | |