Download patch_flow/__init__.py from hellotung/patch-forcing-channel-concat: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/hellotung/patch-forcing-channel-concat/resolve/main/patch_flow/__init__.py
- Command line
-
hf download hf://hellotung/patch-forcing-channel-concat/patch_flow/__init__.py
-
curl -L -o __init__.py https://huggingface.co/hellotung/patch-forcing-channel-concat/resolve/main/patch_flow/__init__.py
172 Bytes
| import os | |
| import sys | |
| sys.path.append(os.path.dirname(os.path.abspath(__file__))) | |
| from omegaconf import OmegaConf | |
| OmegaConf.register_new_resolver("mul", lambda a, b: a * b) |