huhlim commited on
Commit
fd29c77
·
1 Parent(s): cf9c11c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  def runner(in_pdb, model_type):
6
  out_fn = in_pdb.name[:-4] + "-all.pdb"
7
  cg2all.convert_cg2all(in_pdb.name, out_fn, model_type=model_type)
8
- return gr.File(out_fn)
9
 
10
  demo = gr.Interface(fn=runner,
11
  inputs=["file", gr.Radio(["CalphaBasedModel", "ResidueBasedModel", "Martini"])],
 
5
  def runner(in_pdb, model_type):
6
  out_fn = in_pdb.name[:-4] + "-all.pdb"
7
  cg2all.convert_cg2all(in_pdb.name, out_fn, model_type=model_type)
8
+ return out_fn
9
 
10
  demo = gr.Interface(fn=runner,
11
  inputs=["file", gr.Radio(["CalphaBasedModel", "ResidueBasedModel", "Martini"])],