simonduerr commited on
Commit
3897ec7
1 Parent(s): e56ef45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -7,11 +7,13 @@ demo = gr.Blocks()
7
 
8
  with demo:
9
  gr.Markdown("# Metal3D")
10
- with gr.Row():
11
  inp = gr.Textbox(placeholder="2CBA", label="PDB or Uniprot code")
12
  file = gr.File(file_count=1, label="Upload a PDB file")
13
- out = gr.Textbox()
14
- btn = gr.Button("Run Metal3D")
 
 
15
  btn.click(fn=update, inputs=inp, outputs=out)
16
 
17
  demo.launch()
 
7
 
8
  with demo:
9
  gr.Markdown("# Metal3D")
10
+ with gr.Group():
11
  inp = gr.Textbox(placeholder="2CBA", label="PDB or Uniprot code")
12
  file = gr.File(file_count=1, label="Upload a PDB file")
13
+
14
+ btn = gr.Button("Run Metal3D")
15
+ out = gr.Textbox()
16
+ mol = gr.HTML()
17
  btn.click(fn=update, inputs=inp, outputs=out)
18
 
19
  demo.launch()