Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def transcribe_the_command(audio_path,state):
|
|
32 |
import gradio as gr
|
33 |
iface = gr.Interface(
|
34 |
fn=transcribe_the_command,
|
35 |
-
inputs=[gr.
|
36 |
outputs="text",
|
37 |
title="Whisper Small",
|
38 |
description="Realtime demo for intent recognition using a Whisper small model.",
|
|
|
32 |
import gradio as gr
|
33 |
iface = gr.Interface(
|
34 |
fn=transcribe_the_command,
|
35 |
+
inputs=[gr.Audio(source="microphone"),gr.Textbox()],
|
36 |
outputs="text",
|
37 |
title="Whisper Small",
|
38 |
description="Realtime demo for intent recognition using a Whisper small model.",
|