trying-deepfake / model /config.py
tony133777's picture
new
aae9c6b
import yaml
import os
#read yaml file
def load_config():
with open(os.path.join('model','config.yaml')) as file:
config= yaml.safe_load(file)
return config