Spaces:
Sleeping
Sleeping
Download application/dto/extraction_request.py from unveilAiDotOrg/audio-processor: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/spaces/unveilAiDotOrg/audio-processor/resolve/main/application/dto/extraction_request.py
- Command line
-
hf download hf://spaces/unveilAiDotOrg/audio-processor/application/dto/extraction_request.py
-
curl -L -o extraction_request.py https://huggingface.co/spaces/unveilAiDotOrg/audio-processor/resolve/main/application/dto/extraction_request.py
495 Bytes
| """Request DTOs for extraction use cases.""" | |
| from dataclasses import dataclass | |
| from typing import Optional | |
| class ExtractionRequestDTO: | |
| """DTO for extraction request.""" | |
| video_filename: str | |
| video_file_path: str | |
| video_file_size: int | |
| output_format: str | |
| quality: str | |
| content_type: Optional[str] = None | |
| class JobCreationDTO: | |
| """DTO for job creation.""" | |
| job_id: str | |
| status: str | |
| message: str | |
| check_url: str | |
| file_size_mb: float |