Ra-Is commited on
Commit
867fbf0
·
verified ·
1 Parent(s): 7ed2ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(source="microphone", type="filepath"),
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.",