simonduerr commited on
Commit
8ec6bbe
1 Parent(s): b51a1c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -28,13 +28,12 @@ def update(smiles):
28
  allowpaymentrequest="" frameborder="0" srcdoc='{x}'></iframe>"""
29
 
30
  with gr.Blocks() as demo:
31
- gr.Markdown("# GeoMol: Torsional Geometric Generation of Molecular 3D Conformer Ensembles")
32
- gr.Markdown(">Octavian-Eugen Ganea, Lagnajit Pattanaik, Connor W. Coley, Regina Barzilay, Klavs Jensen, William Green, Tommi S. Jaakkola 21 May 2021 (modified: 13 Jan 2022) NeurIPS 2021 Spotlight")
33
  with gr.Column():
34
  inp = gr.Textbox(label="SMILES string", placeholder="CCCC")
35
  out = gr.HTML()
36
  btn = gr.Button("Run")
37
- gr.Examples(["CCCCC", "OC(C(=O)O[C@H]1C[N+]2(CCCOC3=CC=CC=C3)CCC1CC2)(C1=CC=CS1)C1=CC=CS1"], inp, out, update, cache_examples=True)
38
 
39
  btn.click(fn=update, inputs=inp, outputs=out)
40
 
 
28
  allowpaymentrequest="" frameborder="0" srcdoc='{x}'></iframe>"""
29
 
30
  with gr.Blocks() as demo:
31
+ gr.Markdown("# Smilesviewer")
 
32
  with gr.Column():
33
  inp = gr.Textbox(label="SMILES string", placeholder="CCCC")
34
  out = gr.HTML()
35
  btn = gr.Button("Run")
36
+ gr.Examples(["CCCCC", "OC(C(=O)O[C@H]1C[N+]2(CCCOC3=CC=CC=C3)CCC1CC2)(C1=CC=CS1)C1=CC=CS1"], inp, out, update)
37
 
38
  btn.click(fn=update, inputs=inp, outputs=out)
39