Download xai_engine/__init__.py from LPX55/DeepfakeDetection-Explainability: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/LPX55/DeepfakeDetection-Explainability/resolve/main/xai_engine/__init__.py
- Command line
-
hf download hf://spaces/LPX55/DeepfakeDetection-Explainability/xai_engine/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/LPX55/DeepfakeDetection-Explainability/resolve/main/xai_engine/__init__.py
333 Bytes
| from .model import get_model, ViTWrapper | |
| from .methods import run_all_methods, run_single_method, run_per_head_attention | |
| from .viz import create_overlay, to_b64_png | |
| __all__ = [ | |
| "get_model", | |
| "ViTWrapper", | |
| "run_all_methods", | |
| "run_single_method", | |
| "run_per_head_attention", | |
| "create_overlay", | |
| "to_b64_png", | |
| ] | |