Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -128,6 +128,7 @@ with gr.Blocks() as app:
|
|
128 |
|
129 |
submit_btn_long.click(fn=predict_correct_answer, inputs=[long_question_input, answer1_input, answer2_input],
|
130 |
outputs=[correct_answer_output, score_output])
|
|
|
131 |
|
132 |
|
133 |
if __name__ == "__main__":
|
|
|
128 |
|
129 |
submit_btn_long.click(fn=predict_correct_answer, inputs=[long_question_input, answer1_input, answer2_input],
|
130 |
outputs=[correct_answer_output, score_output])
|
131 |
+
gr.ClearButton([long_question_input, answer1_input, answer2_input])
|
132 |
|
133 |
|
134 |
if __name__ == "__main__":
|