Download jevvision.py from divyanshx11/JEVision: direct link, hf CLI and curl.
- Browser
- Download file 352 Bytes
-
https://huggingface.co/divyanshx11/JEVision/resolve/ba1d1bf720ca945cf3fcdc412c39ffa735e2b149/jevvision.py
- Command line
-
hf download hf://divyanshx11/JEVision@ba1d1bf720ca945cf3fcdc412c39ffa735e2b149/jevvision.py
-
curl -L -o jevvision.py https://huggingface.co/divyanshx11/JEVision/resolve/ba1d1bf720ca945cf3fcdc412c39ffa735e2b149/jevvision.py
352 Bytes
| """Import shim for the model-repository-bundled JEVision runtime.""" | |
| from pathlib import Path | |
| import sys | |
| _runtime = str(Path(__file__).resolve().parent / "runtime") | |
| if _runtime not in sys.path: | |
| sys.path.insert(0, _runtime) | |
| from kev.jevvision import JEVision, image_file_as_data_url # noqa: E402 | |
| __all__ = ["JEVision", "image_file_as_data_url"] | |