alvi123 commited on
Commit
c12a349
·
1 Parent(s): 628b54f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -2,8 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
 
5
- model = pipeline(task="automatic-speech-recognition",
6
-
7
  def predict_speech_to_text(audio):
8
  prediction = model(audio)
9
  text = prediction['text']
 
2
  from transformers import pipeline
3
 
4
 
5
+ model = pipeline(task="automatic-speech-recognition")
 
6
  def predict_speech_to_text(audio):
7
  prediction = model(audio)
8
  text = prediction['text']