mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
16 lines
309 B
Python
16 lines
309 B
Python
import faulthandler; faulthandler.enable()
|
|
import sys
|
|
import threading
|
|
|
|
threading.current_thread().name = "frigate"
|
|
|
|
from frigate.app import FrigateApp
|
|
|
|
cli = sys.modules['flask.cli']
|
|
cli.show_server_banner = lambda *x: None
|
|
|
|
if __name__ == '__main__':
|
|
frigate_app = FrigateApp()
|
|
|
|
frigate_app.start()
|