Sajjo commited on
Commit
8bf1650
·
verified ·
1 Parent(s): d1d3620

Update app.py

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