Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
from transformers import pipeline
|
4 |
#Load the ASR and Text Translation pipelines
|
5 |
asr_pipeline = pipeline("automatic-speech-recognition", model="distil-whisper/distil-small.en")
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import pipeline
|
4 |
#Load the ASR and Text Translation pipelines
|
5 |
asr_pipeline = pipeline("automatic-speech-recognition", model="distil-whisper/distil-small.en")
|