Download apps/documents/tasks.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/documents/tasks.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/documents/tasks.py
-
curl -L -o tasks.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/documents/tasks.py
359 Bytes
| """Module for tasks.""" | |
| from __future__ import annotations | |
| import logging | |
| from typing import Any | |
| logger = logging.getLogger("apps.documents") | |
| def merge_evidence_pdf_task(list_id: int) -> Any: | |
| # 已迁移到 apps.evidence.tasks,此处保留向后兼容 | |
| from apps.evidence.tasks import merge_evidence_pdf_task as _task | |
| return _task(list_id) | |