feat: add whisper tasks

This commit is contained in:
Felix Spöttel
2023-01-28 12:30:02 +01:00
parent 8669a18110
commit a7ce71ed33
17 changed files with 209 additions and 88 deletions

9
app/shared/celery.py Normal file
View 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