yzimmermann commited on
Commit
b4077e0
·
verified ·
1 Parent(s): e8168dc

Provide default example

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def process_smiles(smiles):
28
 
29
  iface = gr.Interface(
30
  fn=process_smiles,
31
- inputs=gr.Textbox(label="Input SMILES"),
32
  outputs=[
33
  gr.Label(num_top_classes=3, label="Classification Probabilities"),
34
  gr.Image(type="filepath", label="Molecule Image"),
 
28
 
29
  iface = gr.Interface(
30
  fn=process_smiles,
31
+ inputs=gr.Textbox(label="Input SMILES", value="O1[C@H](CO)[C@@H](O)[C@H](O)[C@@H](O)[C@H]1O[C@@]2(O[C@@H]([C@@H](O)[C@@H]2O)CO)CO"),
32
  outputs=[
33
  gr.Label(num_top_classes=3, label="Classification Probabilities"),
34
  gr.Image(type="filepath", label="Molecule Image"),