Spaces:
Sleeping
Sleeping
Download src/utils/types.py from koushik2109/mindscope-Model: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/koushik2109/mindscope-Model/resolve/main/src/utils/types.py
- Command line
-
hf download hf://spaces/koushik2109/mindscope-Model/src/utils/types.py
-
curl -L -o types.py https://huggingface.co/spaces/koushik2109/mindscope-Model/resolve/main/src/utils/types.py
381 Bytes
| from typing import TypedDict, Optional, Sequence, Any | |
| class ModalityMask(TypedDict): | |
| audio: Sequence[bool] | |
| video: Sequence[bool] | |
| text: Sequence[bool] | |
| class InferenceResult(TypedDict): | |
| phq_total: float | |
| phq_questions: Sequence[float] | |
| classification: float | |
| confidence: float | |
| modality_scores: dict[str, float] | |
| metadata: Optional[dict[str, Any]] | |