simonduerr commited on
Commit
0d7cf39
·
1 Parent(s): 3c6b27e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def update(smiles):
13
 
14
  <body>
15
  <img data-smiles="OC(C(=O)O[C@H]1C[N+]2(CCCOC3=CC=CC=C3)CCC1CC2)(C1=CC=CS1)C1=CC=CS1"
16
- data-smiles-options="{ 'width': 800, 'height': 800 }" />
17
 
18
 
19
  <script type="text/javascript" src="https://unpkg.com/smiles-drawer@2.0.1/dist/smiles-drawer.min.js"></script>
@@ -32,7 +32,7 @@ def update(smiles):
32
 
33
  with gr.Blocks() as demo:
34
  gr.Markdown("# Smiles viewer")
35
- with gr.Row():
36
  inp = gr.Textbox(label="SMILES string", placeholder="CCCC")
37
  out = gr.HTML()
38
  btn = gr.Button("Run")
 
13
 
14
  <body>
15
  <img data-smiles="OC(C(=O)O[C@H]1C[N+]2(CCCOC3=CC=CC=C3)CCC1CC2)(C1=CC=CS1)C1=CC=CS1"
16
+ data-smiles-options="{ \'width\': 800, \'height\': 800 }" />
17
 
18
 
19
  <script type="text/javascript" src="https://unpkg.com/smiles-drawer@2.0.1/dist/smiles-drawer.min.js"></script>
 
32
 
33
  with gr.Blocks() as demo:
34
  gr.Markdown("# Smiles viewer")
35
+ with gr.Column():
36
  inp = gr.Textbox(label="SMILES string", placeholder="CCCC")
37
  out = gr.HTML()
38
  btn = gr.Button("Run")