Download _backend/utils/query_json_structures.py from IOE-IFAD/test: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/spaces/IOE-IFAD/test/resolve/main/_backend/utils/query_json_structures.py
- Command line
-
hf download hf://spaces/IOE-IFAD/test/_backend/utils/query_json_structures.py
-
curl -L -o query_json_structures.py https://huggingface.co/spaces/IOE-IFAD/test/resolve/main/_backend/utils/query_json_structures.py
249 Bytes
| from pydantic import BaseModel | |
| from typing import Optional | |
| class RangeQueryStructure(BaseModel): | |
| gte: int | |
| lte: int | |
| class TranscriptQueryStructure(BaseModel): | |
| speaker: Optional[str] | |
| timestamp_seconds: Optional[RangeQueryStructure] | |