Spaces:
Sleeping
Sleeping
Download doctr/models/preprocessor/__init__.py from adirathor07/AutoEval: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/adirathor07/AutoEval/resolve/main/doctr/models/preprocessor/__init__.py
- Command line
-
hf download hf://spaces/adirathor07/AutoEval/doctr/models/preprocessor/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/adirathor07/AutoEval/resolve/main/doctr/models/preprocessor/__init__.py
200 Bytes
| from doctr.file_utils import is_tf_available, is_torch_available | |
| if is_tf_available(): | |
| from .tensorflow import * | |
| elif is_torch_available(): | |
| from .pytorch import * # type: ignore[assignment] | |