Spaces:
Build error
Build error
Download src/utils/utils.py from techconspartners/ConversAI: direct link, hf CLI and curl.
- Browser
- Download file 188 Bytes
-
https://huggingface.co/spaces/techconspartners/ConversAI/resolve/b9076ac1d2e4d96d7a3d5d577fcbf88d2ceb66f8/src/utils/utils.py
- Command line
-
hf download hf://spaces/techconspartners/ConversAI@b9076ac1d2e4d96d7a3d5d577fcbf88d2ceb66f8/src/utils/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/techconspartners/ConversAI/resolve/b9076ac1d2e4d96d7a3d5d577fcbf88d2ceb66f8/src/utils/utils.py
188 Bytes
| """ | |
| Created By: ishwor subedi | |
| Date: 2024-08-02 | |
| """ | |
| import yaml | |
| def load_config(file_path): | |
| with open(file_path, 'r') as file: | |
| config = yaml.safe_load(file) | |
| return config | |