Update app.py
Browse files
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=[
|
10 |
-
outputs=[
|
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()
|