Ra-Is commited on
Commit
68b4b10
·
verified ·
1 Parent(s): aba8804

Update app.py

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