merve HF staff commited on
Commit
1ffadc1
1 Parent(s): 123980d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -121,8 +121,8 @@ with gr.Blocks(theme="abidlabs/Lime") as demo:
121
 
122
  text_submit = gr.Button()
123
  text_output = gr.Textbox(label="Text Categorization Output")
124
- text_submit.click(categorize, inputs=[text_input, text_choice], outputs=text_output)
125
- text_examples = gr.Examples(examples = text_category_example, inputs = [text_input, text_choice], outputs=text_output, fn=categorize)
126
 
127
 
128
  with gr.Tab("NLI"):
 
121
 
122
  text_submit = gr.Button()
123
  text_output = gr.Textbox(label="Text Categorization Output")
124
+ text_submit.click(categorize, inputs=[text_input], outputs=text_output)
125
+ text_examples = gr.Examples(examples = text_category_example, inputs = [text_input], outputs=text_output, fn=categorize)
126
 
127
 
128
  with gr.Tab("NLI"):