Update app.py
Browse files
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(
|
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."
|