Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def transcribe_and_respond(audio_file, chat_history):
|
|
| 57 |
iface = gr.Interface(
|
| 58 |
fn=transcribe_and_respond,
|
| 59 |
inputs=[
|
| 60 |
-
gr.Audio(
|
| 61 |
gr.State([]) # Hidden state to maintain conversation history
|
| 62 |
],
|
| 63 |
outputs=[
|
|
|
|
| 57 |
iface = gr.Interface(
|
| 58 |
fn=transcribe_and_respond,
|
| 59 |
inputs=[
|
| 60 |
+
gr.Audio(sources="microphone", type="filepath", label="Your Audio (Microphone)"),
|
| 61 |
gr.State([]) # Hidden state to maintain conversation history
|
| 62 |
],
|
| 63 |
outputs=[
|