abidlabs HF staff commited on
Commit
7d70eb4
1 Parent(s): db092de

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -24,7 +24,7 @@ pipe = await pipeline('automatic-speech-recognition')
24
  async def transcribe(text):
25
  return await pipe(text)
26
 
27
- demo = gr.Interface(transcribe, "audio", "textbox")
28
  demo.launch()
29
  </gradio-file>
30
 
 
24
  async def transcribe(text):
25
  return await pipe(text)
26
 
27
+ demo = gr.Interface(transcribe, gr.Audio(source="microphone"), gr.Textbox())
28
  demo.launch()
29
  </gradio-file>
30