saicharan2804 commited on
Commit
9089432
1 Parent(s): 4ccf75e

Fixed error

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -11,10 +11,10 @@ iface = gr.Interface(
11
  fn = kmer_tokenizer,
12
  inputs=[
13
  gr.Textbox(label="SMILES"),
14
- gr.Number(label="ngram", default=4, step=1),
15
- gr.Number(label="stride", default=1, step=1),
16
- gr.Checkbox(label="Remove Last", default=False),
17
- gr.Textbox(label="Exclusive Tokens (comma-separated)", default="", optional=True)
18
  ],
19
  outputs="text"
20
  )
 
11
  fn = kmer_tokenizer,
12
  inputs=[
13
  gr.Textbox(label="SMILES"),
14
+ gr.Number(label="ngram", value=4),
15
+ gr.Number(label="stride", value=1),
16
+ gr.Checkbox(label="Remove Last", value=False),
17
+ gr.Textbox(label="Exclusive Tokens (comma-separated)", value="")
18
  ],
19
  outputs="text"
20
  )