Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def transcribe_and_respond(audio_input: Tuple[np.ndarray, int]) -> str:
|
|
43 |
|
44 |
iface = gr.Interface(
|
45 |
fn=transcribe_and_respond,
|
46 |
-
inputs=gr.Audio(
|
47 |
outputs="text",
|
48 |
title="Live Transcription and Response",
|
49 |
description="Speak into your microphone, and the model will respond naturally and informatively.",
|
|
|
43 |
|
44 |
iface = gr.Interface(
|
45 |
fn=transcribe_and_respond,
|
46 |
+
inputs=gr.Audio(sources="microphone", type="numpy"),
|
47 |
outputs="text",
|
48 |
title="Live Transcription and Response",
|
49 |
description="Speak into your microphone, and the model will respond naturally and informatively.",
|