import yaml import streamlit as st from pathlib import Path def load_config(config_path: Path): with open(config_path, "r") as f: config = yaml.safe_load(f) return config