Download src/common.py from aniketp2009gmail/depth-estimation-demo: direct link, hf CLI and curl.
- Browser
- Download file 146 Bytes
-
https://huggingface.co/spaces/aniketp2009gmail/depth-estimation-demo/resolve/main/src/common.py
- Command line
-
hf download hf://spaces/aniketp2009gmail/depth-estimation-demo/src/common.py
-
curl -L -o common.py https://huggingface.co/spaces/aniketp2009gmail/depth-estimation-demo/resolve/main/src/common.py
146 Bytes
| import yaml | |
| def read_params(config_path): | |
| with open(config_path) as yaml_file: | |
| config = yaml.safe_load(yaml_file) | |
| return config | |