Spaces:
No application file
No application file
Update whisperContainer.py
Browse files- whisperContainer.py +1 -1
whisperContainer.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import os
|
3 |
import whisper
|
4 |
|
5 |
-
from
|
6 |
|
7 |
class WhisperContainer:
|
8 |
def __init__(self, model_name: str, device: str = None, download_root: str = None, cache: ModelCache = None):
|
|
|
2 |
import os
|
3 |
import whisper
|
4 |
|
5 |
+
from modelCache import GLOBAL_MODEL_CACHE, ModelCache
|
6 |
|
7 |
class WhisperContainer:
|
8 |
def __init__(self, model_name: str, device: str = None, download_root: str = None, cache: ModelCache = None):
|