Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
5d4e526
1
Parent(s):
5fcdf8e
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,6 @@ MODEL_NAME = "openai/whisper-small" #this always needs to stay in line 8 :D sorr
|
|
9 |
lang = "en"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
-
print(torch.cuda.is_available())
|
13 |
-
print(device)
|
14 |
pipe = pipeline(
|
15 |
task="automatic-speech-recognition",
|
16 |
model=MODEL_NAME,
|
|
|
9 |
lang = "en"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
|
|
|
|
12 |
pipe = pipeline(
|
13 |
task="automatic-speech-recognition",
|
14 |
model=MODEL_NAME,
|