Spaces:
Runtime error
Runtime error
Download src/utils/dependencies/insightface/__init__.py from Dafzl/ImageTransformer: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/spaces/Dafzl/ImageTransformer/resolve/main/src/utils/dependencies/insightface/__init__.py
- Command line
-
hf download hf://spaces/Dafzl/ImageTransformer/src/utils/dependencies/insightface/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Dafzl/ImageTransformer/resolve/main/src/utils/dependencies/insightface/__init__.py
399 Bytes
| # coding: utf-8 | |
| # pylint: disable=wrong-import-position | |
| """InsightFace: A Face Analysis Toolkit.""" | |
| from __future__ import absolute_import | |
| try: | |
| #import mxnet as mx | |
| import onnxruntime | |
| except ImportError: | |
| raise ImportError( | |
| "Unable to import dependency onnxruntime. " | |
| ) | |
| __version__ = '0.7.3' | |
| from . import model_zoo | |
| from . import utils | |
| from . import app | |
| from . import data | |