Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def transcribe_and_respond(audio_file):
|
|
30 |
|
31 |
iface = gr.Interface(
|
32 |
fn=transcribe_and_respond,
|
33 |
-
inputs=gr.Audio(
|
34 |
outputs="text", # Output as text
|
35 |
title="Live Transcription and Response",
|
36 |
description="Speak into your microphone, and the model will respond naturally and informatively.",
|
|
|
30 |
|
31 |
iface = gr.Interface(
|
32 |
fn=transcribe_and_respond,
|
33 |
+
inputs=gr.Audio(sources="microphone", type="filepath"), # Accept audio input from microphone
|
34 |
outputs="text", # Output as text
|
35 |
title="Live Transcription and Response",
|
36 |
description="Speak into your microphone, and the model will respond naturally and informatively.",
|