Spaces:
Running
Running
Update index.html
Browse files- 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, "
|
| 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 |
|