devcom33
commited on
Commit
·
ba6063a
1
Parent(s):
db36e68
fix libs issues
Browse files
models.py
CHANGED
@@ -16,8 +16,7 @@ def load_whisper(config):
|
|
16 |
logger.info("Loading Whisper model...")
|
17 |
|
18 |
try:
|
19 |
-
|
20 |
-
cache_dir = "/app/cache"
|
21 |
os.makedirs(cache_dir, exist_ok=True)
|
22 |
|
23 |
model_dir = snapshot_download(
|
|
|
16 |
logger.info("Loading Whisper model...")
|
17 |
|
18 |
try:
|
19 |
+
cache_dir = "/tmp/hf-cache"
|
|
|
20 |
os.makedirs(cache_dir, exist_ok=True)
|
21 |
|
22 |
model_dir = snapshot_download(
|