mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-12 21:48:35 +03:00
feat: add whisper tasks
This commit is contained in:
9
app/shared/celery.py
Normal file
9
app/shared/celery.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from celery import Celery
|
||||
|
||||
from app.shared.config import settings
|
||||
|
||||
|
||||
def get_celery_binding() -> Celery:
|
||||
celery = Celery("tasks")
|
||||
celery.conf.broker_url = settings.BROKER_URL
|
||||
return celery
|
||||
Reference in New Issue
Block a user