adorkin commited on
Commit
6cbf59a
·
verified ·
1 Parent(s): 20183ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,15 +15,15 @@ gr.Interface(
15
  gr.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.Textbox(
21
  lines=1,
22
  label="Candidate labels separated with commas (no spaces)",
23
- default="World,Sports,Business,Sci/Tech",
24
  placeholder="World,Sports,Business,Sci/Tech",
25
  ),
26
- gr.Textbox(lines=1, label="Template", default="The topic of this text is {}.", placeholder="The topic of this text is {}.")
27
  ],
28
  outputs=[
29
  gr.Label(label="Predicted label")
 
15
  gr.Textbox(
16
  lines=3,
17
  label="Text to classify",
18
+ value="Sneaky Credit Card Tactics Keep an eye on your credit card issuers -- they may be about to raise your rates."
19
  ),
20
  gr.Textbox(
21
  lines=1,
22
  label="Candidate labels separated with commas (no spaces)",
23
+ value="World,Sports,Business,Sci/Tech",
24
  placeholder="World,Sports,Business,Sci/Tech",
25
  ),
26
+ gr.Textbox(lines=1, label="Template", value="The topic of this text is {}.", placeholder="The topic of this text is {}.")
27
  ],
28
  outputs=[
29
  gr.Label(label="Predicted label")