mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
Merge 310abe10a29e8f2585fd9226bffdd5fff2ae9d23 into c0d2f624c09dc18e709e37c2ad90c039a4eb72a2
This commit is contained in:
commit
e09404bf9b
@ -103,7 +103,7 @@ def available_models() -> List[str]:
|
|||||||
def load_model(
|
def load_model(
|
||||||
name: str,
|
name: str,
|
||||||
device: Optional[Union[str, torch.device]] = None,
|
device: Optional[Union[str, torch.device]] = None,
|
||||||
download_root: str = None,
|
download_root: Optional[str] = None,
|
||||||
in_memory: bool = False,
|
in_memory: bool = False,
|
||||||
) -> Whisper:
|
) -> Whisper:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user