huhlim commited on
Commit
397001a
1 Parent(s): 278d213

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,6 +6,6 @@ def runner(in_pdb, model_type):
6
  cg2all.convert_cg2all(in_pdb.name, out_fn, model_type=model_type)
7
 
8
  demo = gr.Interface(fn=cg2all.convert_cg2all,
9
- inputs=[gr.File("Upload a coarse-grained PDB file"), gr.Radio(["CalphaBasedModel", "ResidueBasedModel", "Martini"])],
10
- outputs=[gr.File("Download the converted all-atom PDB file")])
11
  demo.launch()
 
6
  cg2all.convert_cg2all(in_pdb.name, out_fn, model_type=model_type)
7
 
8
  demo = gr.Interface(fn=cg2all.convert_cg2all,
9
+ inputs=["file", gr.Radio(["CalphaBasedModel", "ResidueBasedModel", "Martini"])],
10
+ outputs=["file"])
11
  demo.launch()