Spaces:
Build error
Build error
Update modules/fault_detection.py
Browse files
modules/fault_detection.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from modules.ai_model import run_inference
|
| 2 |
|
| 3 |
def detect_faults(video_frame):
|
| 4 |
# Process the frame (convert to suitable format if needed)
|
|
|
|
| 1 |
+
from modules.ai_model import run_inference # Import the model inference function
|
| 2 |
|
| 3 |
def detect_faults(video_frame):
|
| 4 |
# Process the frame (convert to suitable format if needed)
|