Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ secrets = {"gemini_api_key": os.getenv("GEMINI_API_KEY")}
|
|
34 |
|
35 |
print("Initializing detector and alerter …")
|
36 |
detector = get_detector(config)
|
37 |
-
alerter = FileAlertSystem(
|
38 |
|
39 |
if alerter.audio_bytes is None:
|
40 |
logging.warning("No alert sound loaded; driver will not hear any audio!")
|
|
|
34 |
|
35 |
print("Initializing detector and alerter …")
|
36 |
detector = get_detector(config)
|
37 |
+
alerter = FileAlertSystem(config)
|
38 |
|
39 |
if alerter.audio_bytes is None:
|
40 |
logging.warning("No alert sound loaded; driver will not hear any audio!")
|