adorkin commited on
Commit
903e92f
1 Parent(s): c4e0334

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,9 +13,9 @@ gr.Interface(
13
  title="Zero-shot Classification",
14
  inputs=[
15
  gr.inputs.Textbox(
16
- lines=5,
17
  label="Text to classify",
18
- placeholder="Sneaky Credit Card Tactics Keep an eye on your credit card issuers -- they may be about to raise your rates."
19
  ),
20
  gr.inputs.Textbox(
21
  lines=1,
@@ -26,7 +26,7 @@ gr.Interface(
26
  gr.inputs.Textbox(lines=1, label="Template", default="The topic of this text is {}.", placeholder="The topic of this text is {}.")
27
  ],
28
  outputs=[
29
- gr.outputs.Textbox(label="Label")
30
  ],
31
  enable_queue=True,
32
  allow_screenshot=False,
 
13
  title="Zero-shot Classification",
14
  inputs=[
15
  gr.inputs.Textbox(
16
+ lines=3,
17
  label="Text to classify",
18
+ default="Sneaky Credit Card Tactics Keep an eye on your credit card issuers -- they may be about to raise your rates."
19
  ),
20
  gr.inputs.Textbox(
21
  lines=1,
 
26
  gr.inputs.Textbox(lines=1, label="Template", default="The topic of this text is {}.", placeholder="The topic of this text is {}.")
27
  ],
28
  outputs=[
29
+ gr.outputs.Textbox(label="Predicted label")
30
  ],
31
  enable_queue=True,
32
  allow_screenshot=False,