Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,6 @@ with gr.Blocks() as app:
|
|
93 |
|
94 |
submit_btn.click(fn=answer_questions, inputs=[context_input, question_input], outputs=[distilbert_base_uncased_output, distilbert_base_uncased_score, bert_base_uncased_output, bert_base_uncased_score, roberta_base_output, roberta_base_score])
|
95 |
examples='examples'
|
96 |
-
gr.Examples(examples,[context_input, question_input],[
|
97 |
if __name__ == "__main__":
|
98 |
app.launch()
|
|
|
93 |
|
94 |
submit_btn.click(fn=answer_questions, inputs=[context_input, question_input], outputs=[distilbert_base_uncased_output, distilbert_base_uncased_score, bert_base_uncased_output, bert_base_uncased_score, roberta_base_output, roberta_base_score])
|
95 |
examples='examples'
|
96 |
+
gr.Examples(examples,[context_input, question_input],[distilbert_base_uncased_output, distilbert_base_uncased_score, bert_base_uncased_output, bert_base_uncased_score, roberta_base_output, roberta_base_score],answer_questions)
|
97 |
if __name__ == "__main__":
|
98 |
app.launch()
|