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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user