Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -113,13 +113,14 @@ def process_answer(audio_file, question, question_audio):
|
|
113 |
with gr.Blocks() as demo:
|
114 |
gr.Markdown("# Adaptive Language Tutor (Spanish)")
|
115 |
with gr.Row():
|
|
|
116 |
question_audio_output = gr.Audio(label="Question")
|
117 |
question_text_output = gr.Textbox(label="Question Text")
|
118 |
with gr.Row():
|
119 |
feedback_audio_output = gr.Audio(label="Feedback")
|
120 |
feedback_text_output = gr.Textbox(label="Feedback")
|
121 |
mic_input = gr.Audio(label="Speak Your Answer")
|
122 |
-
|
123 |
|
124 |
generate_button.click(
|
125 |
fn=run_tutor,
|
|
|
113 |
with gr.Blocks() as demo:
|
114 |
gr.Markdown("# Adaptive Language Tutor (Spanish)")
|
115 |
with gr.Row():
|
116 |
+
generate_button = gr.Button("Generate Question")
|
117 |
question_audio_output = gr.Audio(label="Question")
|
118 |
question_text_output = gr.Textbox(label="Question Text")
|
119 |
with gr.Row():
|
120 |
feedback_audio_output = gr.Audio(label="Feedback")
|
121 |
feedback_text_output = gr.Textbox(label="Feedback")
|
122 |
mic_input = gr.Audio(label="Speak Your Answer")
|
123 |
+
|
124 |
|
125 |
generate_button.click(
|
126 |
fn=run_tutor,
|