Spaces:
Sleeping
Sleeping
def read_config(): | |
import yaml | |
with open("config.yaml", "r") as yamlfile: | |
config = yaml.load(yamlfile, Loader=yaml.FullLoader) | |
return config['config'] | |