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