merve HF staff commited on
Commit
978d584
1 Parent(s): b42a3ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"):