Spaces:
Running
Running
File size: 292 Bytes
4350164 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import os
import sys
import yaml
def get_config():
yaml_path = 'model_data/gesture.yaml'
f = open(yaml_path,'r',encoding='utf-8')
config = yaml.load(f,Loader =yaml.FullLoader)
f.close()
return config
if __name__ == "__main__":
config = get_config()
print(config) |