Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ import time
|
|
| 12 |
from gradio_webrtc import WebRTC
|
| 13 |
|
| 14 |
# Correctly import from the drive_paddy package structure
|
| 15 |
-
from
|
| 16 |
-
from
|
| 17 |
|
| 18 |
# --- Load Configuration and Environment Variables ---
|
| 19 |
load_dotenv()
|
|
|
|
| 12 |
from gradio_webrtc import WebRTC
|
| 13 |
|
| 14 |
# Correctly import from the drive_paddy package structure
|
| 15 |
+
from src.detection.factory import get_detector
|
| 16 |
+
from src.alerting.alert_system import get_alerter
|
| 17 |
|
| 18 |
# --- Load Configuration and Environment Variables ---
|
| 19 |
load_dotenv()
|