Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Commit
•
0aa98e8
1
Parent(s):
45012e5
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ import spaces
|
|
21 |
import librosa
|
22 |
from txtsplit import txtsplit
|
23 |
|
24 |
-
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() "cpu"
|
25 |
|
26 |
pipe = pipeline(
|
27 |
"automatic-speech-recognition",
|
|
|
21 |
import librosa
|
22 |
from txtsplit import txtsplit
|
23 |
|
24 |
+
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|
25 |
|
26 |
pipe = pipeline(
|
27 |
"automatic-speech-recognition",
|