Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
-
pip install torch torchvision torchaudio
|
2 |
-
|
3 |
import gradio as gr
|
4 |
-
import torch
|
5 |
from transformers import pipeline
|
6 |
#Load the ASR and Text Translation pipelines
|
7 |
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")
|