Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ import gradio as gr
|
|
5 |
|
6 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
7 |
|
8 |
-
# Load Whisper-
|
9 |
pipe = pipeline("automatic-speech-recognition",
|
10 |
-
model="openai/whisper-
|
11 |
device=device
|
12 |
)
|
13 |
|
|
|
5 |
|
6 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
7 |
|
8 |
+
# Load Whisper-base
|
9 |
pipe = pipeline("automatic-speech-recognition",
|
10 |
+
model="openai/whisper-base",
|
11 |
device=device
|
12 |
)
|
13 |
|