Spaces:
Runtime error
Runtime error
Increase the video length to two hours
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import os
|
|
11 |
MODEL_NAME = "openai/whisper-large-v3"
|
12 |
BATCH_SIZE = 8
|
13 |
FILE_LIMIT_MB = 1000
|
14 |
-
YT_LENGTH_LIMIT_S =
|
15 |
|
16 |
device = 0 if torch.cuda.is_available() else "cpu"
|
17 |
|
|
|
11 |
MODEL_NAME = "openai/whisper-large-v3"
|
12 |
BATCH_SIZE = 8
|
13 |
FILE_LIMIT_MB = 1000
|
14 |
+
YT_LENGTH_LIMIT_S = 7200 # limit to 2 hour YouTube files
|
15 |
|
16 |
device = 0 if torch.cuda.is_available() else "cpu"
|
17 |
|