Spaces:
Sleeping
Sleeping
Update app.py
Browse filesenable HF_HUB_ENABLE_HF_TRANSFER
app.py
CHANGED
@@ -12,6 +12,8 @@ from datetime import datetime
|
|
12 |
from pathlib import Path
|
13 |
from uuid import uuid4
|
14 |
|
|
|
|
|
15 |
MODEL_NAME = "openai/whisper-large-v3"
|
16 |
BATCH_SIZE = 8
|
17 |
YT_LENGTH_LIMIT_S = 4800 # 1 hour 20 minutes
|
|
|
12 |
from pathlib import Path
|
13 |
from uuid import uuid4
|
14 |
|
15 |
+
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
16 |
+
|
17 |
MODEL_NAME = "openai/whisper-large-v3"
|
18 |
BATCH_SIZE = 8
|
19 |
YT_LENGTH_LIMIT_S = 4800 # 1 hour 20 minutes
|