gaur3009 commited on
Commit
f432f17
·
verified ·
1 Parent(s): b9fa03f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def main():
57
 
58
  audio_iface = gr.Interface(
59
  fn=gradio_audio_interface,
60
- inputs=gr.Audio(source="microphone", type="filepath"),
61
  outputs=["text", "text", "number", "text"],
62
  title="AI Grammar Checker (Audio)",
63
  description="Speak to check grammar, get suggestions, and see a score."
 
57
 
58
  audio_iface = gr.Interface(
59
  fn=gradio_audio_interface,
60
+ inputs=gr.Audio(sources=["microphone"], type="filepath"), # Fixed here
61
  outputs=["text", "text", "number", "text"],
62
  title="AI Grammar Checker (Audio)",
63
  description="Speak to check grammar, get suggestions, and see a score."