BioMike commited on
Commit
cb3a9cc
1 Parent(s): 58b6381

Update interfaces/iupac2smiles.py

Browse files
Files changed (1) hide show
  1. interfaces/iupac2smiles.py +2 -2
interfaces/iupac2smiles.py CHANGED
@@ -18,13 +18,13 @@ iupac2smiles = gr.Interface(
18
  fn=convert,
19
  allow_flagging='auto',
20
  inputs=[
21
- gr.Textbox(label="Enter your access code", placeholder=""),
22
  gr.Textbox(label="Enter your IUPAC name", placeholder="Enter IUPAC name here"),
23
  gr.Checkbox(label="Plot molecule", value=True)
24
  ],
25
  outputs=[gr.Text(label="Converted Name"),
26
  gr.Image(type='pil', label="Molecule Plot", height=170, width=890)],
27
  examples=[
28
- ["", "ethanol", True]
29
  ],
30
  )
 
18
  fn=convert,
19
  allow_flagging='auto',
20
  inputs=[
21
+ gr.Textbox(label="Enter your access code", placeholder="", default=None),
22
  gr.Textbox(label="Enter your IUPAC name", placeholder="Enter IUPAC name here"),
23
  gr.Checkbox(label="Plot molecule", value=True)
24
  ],
25
  outputs=[gr.Text(label="Converted Name"),
26
  gr.Image(type='pil', label="Molecule Plot", height=170, width=890)],
27
  examples=[
28
+ [None, "ethanol", True]
29
  ],
30
  )