RakanAlsheraiwi
commited on
Commit
•
2551a01
1
Parent(s):
77efc67
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def pronunciation_feedback(user_audio, sentence):
|
|
26 |
interface = gr.Interface(
|
27 |
fn=pronunciation_feedback,
|
28 |
inputs=[
|
29 |
-
gr.Audio(
|
30 |
gr.Textbox(lines=2, label="Sentence to pronounce", value="This is a sample text.")
|
31 |
],
|
32 |
outputs="text",
|
|
|
26 |
interface = gr.Interface(
|
27 |
fn=pronunciation_feedback,
|
28 |
inputs=[
|
29 |
+
gr.Audio(type="filepath", label="Record your pronunciation"),
|
30 |
gr.Textbox(lines=2, label="Sentence to pronounce", value="This is a sample text.")
|
31 |
],
|
32 |
outputs="text",
|