ChatVID / config /config_utils.py
Yiqin's picture
init
6ef31de
raw
history blame contribute delete
232 Bytes
def get_config(
config_path: str
):
import yaml
f = open(config_path, "r")
config = yaml.load(f.read(), yaml.Loader)
f.close()
return config
def save_config(
config: dict,
file_path: str,
):
pass