Spaces:
Runtime error
Runtime error
File size: 312 Bytes
99fdb5f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | from celery import Celery
celery_app = Celery(
"converter",
broker="redis://localhost:6379/0",
backend="redis://localhost:6379/1"
)
celery_app.conf.update(
task_serializer="json",
accept_content=["json"],
result_serializer="json",
)
# 👇 FORCE IMPORT
import workers.converter_worker
|