Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,6 @@ with gr.Blocks() as demo:
|
|
| 100 |
examples=zero_shot_examples,
|
| 101 |
inputs=[text_input, labels_or_premise],
|
| 102 |
label="Zero-Shot Classification Examples",
|
| 103 |
-
headers=["Input Text", "Categories"] # Add headers
|
| 104 |
)
|
| 105 |
|
| 106 |
with gr.Column(variant="panel") as nli_examples_panel:
|
|
@@ -108,7 +107,6 @@ with gr.Blocks() as demo:
|
|
| 108 |
examples=nli_examples,
|
| 109 |
inputs=[text_input, labels_or_premise],
|
| 110 |
label="Natural Language Inference Examples",
|
| 111 |
-
headers=["Premise", "Hypothesis"] # Add headers
|
| 112 |
)
|
| 113 |
|
| 114 |
def update_visibility(mode):
|
|
|
|
| 100 |
examples=zero_shot_examples,
|
| 101 |
inputs=[text_input, labels_or_premise],
|
| 102 |
label="Zero-Shot Classification Examples",
|
|
|
|
| 103 |
)
|
| 104 |
|
| 105 |
with gr.Column(variant="panel") as nli_examples_panel:
|
|
|
|
| 107 |
examples=nli_examples,
|
| 108 |
inputs=[text_input, labels_or_premise],
|
| 109 |
label="Natural Language Inference Examples",
|
|
|
|
| 110 |
)
|
| 111 |
|
| 112 |
def update_visibility(mode):
|