Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -132,8 +132,7 @@ with gr.Blocks(title="Learn & Practice 🚀") as demo:
|
|
132 |
submit_button.click(
|
133 |
fn=update_interface,
|
134 |
inputs=[subject, grade, student_input, model_select],
|
135 |
-
outputs=[lesson_output, question_output, options_output, feedback_output, answer_feedback, points]
|
136 |
-
_js="() => {document.querySelector('.output-container').scrollIntoView({behavior: 'smooth'})}"
|
137 |
).then(
|
138 |
fn=lambda x: x,
|
139 |
inputs=[gr.State()],
|
|
|
132 |
submit_button.click(
|
133 |
fn=update_interface,
|
134 |
inputs=[subject, grade, student_input, model_select],
|
135 |
+
outputs=[lesson_output, question_output, options_output, feedback_output, answer_feedback, points]
|
|
|
136 |
).then(
|
137 |
fn=lambda x: x,
|
138 |
inputs=[gr.State()],
|