Sajjo commited on
Commit
5cbc265
·
verified ·
1 Parent(s): f8cd5a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -73,7 +73,8 @@ def save_audio_text(audio, text):
73
  # Define the Gradio interface
74
  with gr.Interface(
75
  fn=save_audio_text,
76
- inputs=[gr.Audio(["microphone"], type="filepath", label="Record Audio"), gr.Textbox(label="Current Line")],
 
77
  outputs=gr.Textbox(label="Next Line")
78
  ) as iface:
79
  iface.launch()
 
73
  # Define the Gradio interface
74
  with gr.Interface(
75
  fn=save_audio_text,
76
+ inputs=[gr.Audio(source=["microphone"], type="filepath", label="Record Audio"),
77
+ gr.Textbox(label="Current Line")],
78
  outputs=gr.Textbox(label="Next Line")
79
  ) as iface:
80
  iface.launch()