mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
24 lines
505 B
Python
24 lines
505 B
Python
# This is required to satisfy the chromadb dependency
|
|
__import__("pysqlite3")
|
|
import sys # noqa: E402
|
|
|
|
sys.modules["sqlite3"] = sys.modules.pop("pysqlite3")
|
|
|
|
import faulthandler # noqa: E402
|
|
import threading # noqa: E402
|
|
|
|
from flask import cli # noqa: E402
|
|
|
|
from frigate.app import FrigateApp # noqa: E402
|
|
|
|
faulthandler.enable()
|
|
|
|
threading.current_thread().name = "frigate"
|
|
|
|
cli.show_server_banner = lambda *x: None
|
|
|
|
if __name__ == "__main__":
|
|
frigate_app = FrigateApp()
|
|
|
|
frigate_app.start()
|