Nighter commited on
Commit
dcb0c9c
1 Parent(s): 7d058f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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__":