Fix misleading Edge TPU log message after probe fallback

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alex
2026-04-11 17:40:36 -05:00
parent 05409403e9
commit c41e5bcafa

View File

@@ -478,7 +478,7 @@ async def startup():
sound_classifier = SoundClassifier(str(active_model), str(class_map_path), use_edgetpu=use_edgetpu) sound_classifier = SoundClassifier(str(active_model), str(class_map_path), use_edgetpu=use_edgetpu)
sound_ring_buffer = collections.deque(maxlen=31) sound_ring_buffer = collections.deque(maxlen=31)
state.sound_classification_enabled = True state.sound_classification_enabled = True
logger.info("Sound classification enabled (YAMNet %s)", "Edge TPU" if use_edgetpu else "CPU") logger.info("Sound classification enabled")
sc_thread = threading.Thread(target=sound_classifier_loop, daemon=True) sc_thread = threading.Thread(target=sound_classifier_loop, daemon=True)
sc_thread.start() sc_thread.start()