Spaces:
Sleeping
Sleeping
Commit
·
713bc64
1
Parent(s):
253867d
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
4 |
# Load the model and processor
|
5 |
model_id = "openai/whisper-medium"
|
6 |
|
7 |
-
device =
|
8 |
BATCH_SIZE = 8
|
9 |
pipe = pipeline(
|
10 |
task="automatic-speech-recognition",
|
|
|
4 |
# Load the model and processor
|
5 |
model_id = "openai/whisper-medium"
|
6 |
|
7 |
+
device = "cpu"
|
8 |
BATCH_SIZE = 8
|
9 |
pipe = pipeline(
|
10 |
task="automatic-speech-recognition",
|