Ahsen Khaliq commited on
Commit
9b97643
1 Parent(s): ab3ecad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def inference(text, model,class_names,allow_multiple):
28
  gr.Interface(
29
  inference,
30
  [gr.inputs.Textbox(label="Input",lines=10),gr.inputs.Dropdown(choices=["bart-large-mnli","bart-large-cnn"], type="value", default="bart-large-mnli", label="model"),gr.inputs.Textbox(label="Possible class names (comma-separated)"),gr.inputs.Checkbox(default=False, label="Allow multiple true classes")],
31
- [gradio.outputs.Label(label="Zero-Shot Classification"),gr.outputs.Textbox(label="Summarization")],
32
  examples=examples,
33
  article=article,
34
  title=title,
 
28
  gr.Interface(
29
  inference,
30
  [gr.inputs.Textbox(label="Input",lines=10),gr.inputs.Dropdown(choices=["bart-large-mnli","bart-large-cnn"], type="value", default="bart-large-mnli", label="model"),gr.inputs.Textbox(label="Possible class names (comma-separated)"),gr.inputs.Checkbox(default=False, label="Allow multiple true classes")],
31
+ [gr.outputs.Label(label="Zero-Shot Classification"),gr.outputs.Textbox(label="Summarization")],
32
  examples=examples,
33
  article=article,
34
  title=title,