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