Bagda commited on
Commit
66d42c7
·
verified ·
1 Parent(s): bf5a004

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -1,12 +1,3 @@
1
- from transformers import pipeline
2
-
3
- asr = pipeline("automatic-speech-recognition", model="ZeeshanGeoPk/haitian-speech-to-text")
4
-
5
- def transcribe(audio):
6
- return asr(audio)["text"]
7
-
8
- import gradio as gr
9
- gr.Interface(fn=transcribe, inputs=gr.Audio(type="filepath"), outputs="text").launch()
10
 
11
  import gradio as gr
12
 
 
 
 
 
 
 
 
 
 
 
1
 
2
  import gradio as gr
3