emielclopterop commited on
Commit
b99e243
·
verified ·
1 Parent(s): 26ce962

Fixing app

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -50,11 +50,11 @@ def multi_model_interaction(text):
50
  with gr.Blocks() as demo:
51
  with gr.Tab("Single Models"):
52
  with gr.Column():
53
- gr.Markdown("### Question Answering")
54
- context = gr.Textbox(label="Context")
55
- question = gr.Textbox(label="Question")
56
- answer_output = gr.Text(label="Answer")
57
- gr.Button("Answer").click(answer_question, inputs=[context, question], outputs=answer_output)
58
 
59
  with gr.Column():
60
  gr.Markdown("### Zero-Shot Classification")
 
50
  with gr.Blocks() as demo:
51
  with gr.Tab("Single Models"):
52
  with gr.Column():
53
+ gr.Markdown("### Question Answering")
54
+ context = gr.Textbox(label="Context")
55
+ question = gr.Textbox(label="Question")
56
+ answer_output = gr.Text(label="Answer")
57
+ gr.Button("Answer").click(answer_question, inputs=[context, question], outputs=answer_output)
58
 
59
  with gr.Column():
60
  gr.Markdown("### Zero-Shot Classification")