Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ with gr.Blocks(theme="abidlabs/Lime") as demo:
|
|
164 |
text_submit = gr.Button()
|
165 |
text_output = gr.Textbox(label="Text Categorization Output")
|
166 |
text_submit.click(categorize, inputs=[text_input], outputs=text_output)
|
167 |
-
text_examples = gr.Examples(examples = text_category_example, fn=categorize)
|
168 |
|
169 |
|
170 |
with gr.Tab("NLI"):
|
|
|
164 |
text_submit = gr.Button()
|
165 |
text_output = gr.Textbox(label="Text Categorization Output")
|
166 |
text_submit.click(categorize, inputs=[text_input], outputs=text_output)
|
167 |
+
text_examples = gr.Examples(examples = text_category_example,inputs=[text_input], outputs=text_output, fn=categorize)
|
168 |
|
169 |
|
170 |
with gr.Tab("NLI"):
|