NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix yaml bug and ensure embeddings progress doesn't show until all models are loaded (#14338)
Josh Hawkins0ee32cf11006
diff --git a/frigate/util/builtin.py b/frigate/util/builtin.pyindex 7c2c5790e2..6dab162062 100644--- a/frigate/util/builtin.py+++ b/frigate/util/builtin.py@@ -183,16 +183,11 @@ def update_yaml_from_url(file_path, url):update_yaml_file(file_path, key_path, new_value_list)else:value = new_value_list[0]- if "," in value:- # Skip conversion if we're a mask or zone string- update_yaml_file(file_path, key_path, value)- else:- try:- value = ast.literal_eval(value)- except (ValueError, SyntaxError):- pass- update_yaml_file(file_path, key_path, value)-+ try:+ # no need to convert if we have a mask/zone string+ value = ast.literal_eval(value) if "," not in value else value+ except (ValueError, SyntaxError):+ passupdate_yaml_file(file_path, key_path, value)diff --git a/web/src/pages/Explore.tsx b/web/src/pages/Explore.tsxindex 03a60a8d07..816618fe53 100644--- a/web/src/pages/Explore.tsx+++ b/web/src/pages/Explore.tsx@@ -275,7 +275,7 @@ export default function Explore() {<TbExclamationCircle className="mb-3 size-10" /><div>Search Unavailable</div></div>- {embeddingsReindexing && (+ {embeddingsReindexing && allModelsLoaded && (<><div className="text-center text-primary-variant">Search can be used after tracked object embeddings have