LPX55
commited on
Commit
·
eeb602e
1
Parent(s):
59627db
fix: add missing import for preprocess_onnx_input in model_loader
Browse files- utils/model_loader.py +2 -0
utils/model_loader.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
"""
|
2 |
Model loading and registration logic for OpenSight Deepfake Detection Playground.
|
3 |
Handles ONNX, HuggingFace, and Gradio API model registration and metadata.
|
|
|
1 |
+
# Add missing import for preprocess_onnx_input
|
2 |
+
from utils.onnx_helpers import preprocess_onnx_input
|
3 |
"""
|
4 |
Model loading and registration logic for OpenSight Deepfake Detection Playground.
|
5 |
Handles ONNX, HuggingFace, and Gradio API model registration and metadata.
|