Spaces:
Runtime error
Runtime error
Commit
•
126bdd3
1
Parent(s):
be9658a
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import torch
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
MODEL_NAME = "openai/whisper-tiny"
|
|
|
6 |
|
7 |
device = 0 if torch.cuda.is_available() else "cpu"
|
8 |
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
MODEL_NAME = "openai/whisper-tiny"
|
6 |
+
BATCH_SIZE = 8
|
7 |
|
8 |
device = 0 if torch.cuda.is_available() else "cpu"
|
9 |
|