Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ import os
|
|
11 |
|
12 |
MODEL_NAME = "openai/whisper-large-v3"
|
13 |
BATCH_SIZE = 8
|
14 |
-
FILE_LIMIT_MB =
|
15 |
-
YT_LENGTH_LIMIT_S =
|
16 |
|
17 |
device = 0 if torch.cuda.is_available() else "cpu"
|
18 |
|
|
|
11 |
|
12 |
MODEL_NAME = "openai/whisper-large-v3"
|
13 |
BATCH_SIZE = 8
|
14 |
+
FILE_LIMIT_MB = 1500
|
15 |
+
YT_LENGTH_LIMIT_S = 4800 # limit to 1.5 hour YouTube files
|
16 |
|
17 |
device = 0 if torch.cuda.is_available() else "cpu"
|
18 |
|