mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
server: refactor with diarization, logic works
This commit is contained in:
11
server/reflector/worker/app.py
Normal file
11
server/reflector/worker/app.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from celery import Celery
|
||||
from reflector.settings import settings
|
||||
|
||||
app = Celery(__name__)
|
||||
app.conf.broker_url = settings.CELERY_BROKER_URL
|
||||
app.conf.result_backend = settings.CELERY_RESULT_BACKEND
|
||||
app.autodiscover_tasks(
|
||||
[
|
||||
"reflector.pipelines.main_live_pipeline",
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user