Oranblock commited on
Commit
69e302a
1 Parent(s): 10c69f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def process_audio(audio):
80
  # Interface
81
  iface = gr.Interface(
82
  fn=process_audio,
83
- inputs=gr.Audio(source="microphone", type="filepath"),
84
  outputs=[gr.Textbox(), gr.Progress(label="Memorization Progress")],
85
  title="Qur'an Memorization Helper",
86
  description="Speak a verse, and we'll transcribe it, check your accuracy, and track your progress."
 
80
  # Interface
81
  iface = gr.Interface(
82
  fn=process_audio,
83
+ inputs=gr.Audio(type="filepath"), # No 'source' argument
84
  outputs=[gr.Textbox(), gr.Progress(label="Memorization Progress")],
85
  title="Qur'an Memorization Helper",
86
  description="Speak a verse, and we'll transcribe it, check your accuracy, and track your progress."