mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-08 15:52:48 +03:00
Fix model errors (#17171)
This commit is contained in:
@@ -225,6 +225,9 @@ class EmbeddingsContext:
|
||||
if os.path.isfile(file_path):
|
||||
os.unlink(file_path)
|
||||
|
||||
if len(os.listdir(folder)) == 0:
|
||||
os.rmdir(folder)
|
||||
|
||||
def update_description(self, event_id: str, description: str) -> None:
|
||||
self.requestor.send_data(
|
||||
EmbeddingsRequestEnum.embed_description.value,
|
||||
|
||||
Reference in New Issue
Block a user