mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Publish model state and embeddings reindex in dispatcher onConnect
This commit is contained in:
parent
833768172d
commit
2f0ef1dc69
@ -179,6 +179,11 @@ class Dispatcher:
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.publish("camera_activity", json.dumps(camera_status))
|
self.publish("camera_activity", json.dumps(camera_status))
|
||||||
|
self.publish("model_state", json.dumps(self.model_state.copy()))
|
||||||
|
self.publish(
|
||||||
|
"embeddings_reindex_progress",
|
||||||
|
json.dumps(self.embeddings_reindex.copy()),
|
||||||
|
)
|
||||||
|
|
||||||
# Dictionary mapping topic to handlers
|
# Dictionary mapping topic to handlers
|
||||||
topic_handlers = {
|
topic_handlers = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user