Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def tutor_feedback(audio_file):
|
|
| 64 |
# Gradio UI
|
| 65 |
iface = gr.Interface(
|
| 66 |
fn=tutor_feedback,
|
| 67 |
-
inputs=gr.Audio(
|
| 68 |
outputs=[
|
| 69 |
gr.Textbox(label="π Transcript"),
|
| 70 |
gr.Textbox(label="π’ Tutor Feedback"),
|
|
|
|
| 64 |
# Gradio UI
|
| 65 |
iface = gr.Interface(
|
| 66 |
fn=tutor_feedback,
|
| 67 |
+
inputs=gr.Audio(type="filepath", label="π€ Upload or record your response"),,
|
| 68 |
outputs=[
|
| 69 |
gr.Textbox(label="π Transcript"),
|
| 70 |
gr.Textbox(label="π’ Tutor Feedback"),
|