Spaces:
Runtime error
Runtime error
Download celery_app.py from cloudaiRambo/cloudairambo: direct link, hf CLI and curl.
- Browser
- Download file 312 Bytes
-
https://huggingface.co/spaces/cloudaiRambo/cloudairambo/resolve/main/celery_app.py
- Command line
-
hf download hf://spaces/cloudaiRambo/cloudairambo/celery_app.py
-
curl -L -o celery_app.py https://huggingface.co/spaces/cloudaiRambo/cloudairambo/resolve/main/celery_app.py
312 Bytes
| 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 | |