Spaces:
Running
Running
| from __future__ import annotations | |
| from abc import ABC, abstractmethod | |
| from typing import Dict, Optional | |
| from .schemas import ASRConfig, ASROutput | |
| class ASRModel(ABC): | |
| def model_info(self) -> Dict: | |
| ... | |
| def transcribe(self, utt_id: str, audio_uri: str, config: Optional[ASRConfig] = None) -> ASROutput: | |
| ... | |