Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ def stop_siren():
|
|
| 131 |
|
| 132 |
def gen_frames():
|
| 133 |
global last_alert_time, latest_object_counts, SITE_LOCATION_DETAILS
|
| 134 |
-
allowed_classes = {"person","bird","
|
| 135 |
last_telegram_time = 0
|
| 136 |
last_object_counts = Counter()
|
| 137 |
siren_playing = False
|
|
|
|
| 131 |
|
| 132 |
def gen_frames():
|
| 133 |
global last_alert_time, latest_object_counts, SITE_LOCATION_DETAILS
|
| 134 |
+
allowed_classes = {"person","bird","cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra","giraffe"}
|
| 135 |
last_telegram_time = 0
|
| 136 |
last_object_counts = Counter()
|
| 137 |
siren_playing = False
|