Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def send_audio_to_laravel(audio):
|
|
| 22 |
# Gradio interface for recording speech
|
| 23 |
iface = gr.Interface(
|
| 24 |
fn=send_audio_to_laravel,
|
| 25 |
-
inputs=gr.Audio(
|
| 26 |
outputs="text",
|
| 27 |
title="Speech Translation",
|
| 28 |
description="Record speech and send it for processing.",
|
|
|
|
| 22 |
# Gradio interface for recording speech
|
| 23 |
iface = gr.Interface(
|
| 24 |
fn=send_audio_to_laravel,
|
| 25 |
+
inputs=gr.Audio("microphone"),
|
| 26 |
outputs="text",
|
| 27 |
title="Speech Translation",
|
| 28 |
description="Record speech and send it for processing.",
|