Spaces:
Sleeping
Sleeping
zanemotiwala
commited on
Commit
•
a8a6273
1
Parent(s):
75418bf
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import logging
|
3 |
from transformers import pipeline
|
|
|
4 |
|
5 |
asr = pipeline(task="automatic-speech-recognition",
|
6 |
model="distil-whisper/distil-small.en")
|
|
|
1 |
import gradio as gr
|
2 |
import logging
|
3 |
from transformers import pipeline
|
4 |
+
import torch
|
5 |
|
6 |
asr = pipeline(task="automatic-speech-recognition",
|
7 |
model="distil-whisper/distil-small.en")
|