Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
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")
|