Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def transcribe(audio_file):
|
|
9 |
|
10 |
|
11 |
if torch.cuda.is_available():
|
12 |
-
device = "
|
13 |
else:
|
14 |
device = "cpu"
|
15 |
batch_size = 16 # reduce if low on GPU mem
|
|
|
9 |
|
10 |
|
11 |
if torch.cuda.is_available():
|
12 |
+
device = "cuda"
|
13 |
else:
|
14 |
device = "cpu"
|
15 |
batch_size = 16 # reduce if low on GPU mem
|