Download lib/python3.12/site-packages/hydra/test_utils/example_app.py from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/parallel-reasoner/env-full/resolve/ef9f3b242ae7e3f7f6941c7127ec00ad092d910e/lib/python3.12/site-packages/hydra/test_utils/example_app.py
- Command line
-
hf download hf://parallel-reasoner/env-full@ef9f3b242ae7e3f7f6941c7127ec00ad092d910e/lib/python3.12/site-packages/hydra/test_utils/example_app.py
-
curl -L -o example_app.py https://huggingface.co/parallel-reasoner/env-full/resolve/ef9f3b242ae7e3f7f6941c7127ec00ad092d910e/lib/python3.12/site-packages/hydra/test_utils/example_app.py
323 Bytes
| # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved | |
| from omegaconf import DictConfig, OmegaConf | |
| import hydra | |
| def run_cli(cfg: DictConfig) -> None: | |
| print(OmegaConf.to_yaml(cfg)) | |
| if __name__ == "__main__": | |
| run_cli() | |