dwb2023 commited on
Commit
a11fbef
·
verified ·
1 Parent(s): 68730d2

Update app.py

Browse files

enable HF_HUB_ENABLE_HF_TRANSFER

Files changed (1) hide show
  1. app.py +2 -0
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