rahul2001 commited on
Commit
e0d83fe
1 Parent(s): 6599120

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -21,9 +21,6 @@ def transcribe(audio,lang = "hindi"):
21
  return transcriber_odia({"sampling_rate": sr, "raw": y})["text"]
22
 
23
 
24
- demo = gr.Interface(
25
- transcribe,
26
- [gr.Audio(source="microphone"), gr.Radio(["hindi","bangali","odia"])]
27
- "text")
28
 
29
  demo.launch()
 
21
  return transcriber_odia({"sampling_rate": sr, "raw": y})["text"]
22
 
23
 
24
+ demo = gr.Interface(fn=transcribe, inputs = [gr.Audio(source="microphone"), gr.Radio(["hindi","bangali","odia"])] , outputs = "text")
 
 
 
25
 
26
  demo.launch()