Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
# import torch
|
3 |
import gradio as gr
|
4 |
|
5 |
-
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
|
7 |
pipe = pipeline(
|
8 |
"automatic-speech-recognition",
|
|
|
2 |
# import torch
|
3 |
import gradio as gr
|
4 |
|
5 |
+
# device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
6 |
|
7 |
pipe = pipeline(
|
8 |
"automatic-speech-recognition",
|