huhlim commited on
Commit
d9ea2a7
·
1 Parent(s): f3a9d45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -10,5 +10,7 @@ def runner(in_pdb, model_type):
10
  demo = gr.Interface(fn=runner,
11
  inputs=["file", gr.Radio(["CalphaBasedModel", "ResidueBasedModel", "Martini"])],
12
  outputs=["file"],
13
- examples=[f"1ab1_A.{cg}.pdb" for cg in ["calpha", "residue", "martini"]])
 
 
14
  demo.launch()
 
10
  demo = gr.Interface(fn=runner,
11
  inputs=["file", gr.Radio(["CalphaBasedModel", "ResidueBasedModel", "Martini"])],
12
  outputs=["file"],
13
+ examples=[("1ab1_A.calpha.pdb", "CalphaBasedModel"),
14
+ ("1ab1_A.residue.pdb", "ResidueBasedModel"),
15
+ ("1ab1_A.martini.pdb", "Martini")])
16
  demo.launch()