WSobo commited on
Commit
85fee63
·
verified ·
1 Parent(s): c33fe8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -257,15 +257,13 @@ def predict_sequence(pdb_file):
257
  demo = gr.Interface(
258
  fn=predict_sequence,
259
  inputs=gr.File(label="Upload Target Protein Backbone (.pdb)", file_types=[".pdb"]),
260
- outputs=gr.Textbox(label="Designed Amino Acid Sequence", show_copy_button=True, lines=5),
261
  title="Struct2Seq-GNN: Inverse Protein Folding",
262
  description=(
263
  "Upload a 3D target backbone to generate a sequence optimized by a custom Heterogeneous Graph Neural Network.\n\n"
264
  "**Model Performance:** Achieves ~30.3% global sequence recovery and **35.1% binding-pocket recovery** "
265
  "on noisy coordinates, confirming strong generalization to underlying biophysical folding constraints."
266
- ),
267
- allow_flagging="never",
268
- theme=gr.themes.Soft()
269
  )
270
 
271
  if __name__ == "__main__":
 
257
  demo = gr.Interface(
258
  fn=predict_sequence,
259
  inputs=gr.File(label="Upload Target Protein Backbone (.pdb)", file_types=[".pdb"]),
260
+ outputs=gr.Textbox(label="Designed Amino Acid Sequence", lines=5),
261
  title="Struct2Seq-GNN: Inverse Protein Folding",
262
  description=(
263
  "Upload a 3D target backbone to generate a sequence optimized by a custom Heterogeneous Graph Neural Network.\n\n"
264
  "**Model Performance:** Achieves ~30.3% global sequence recovery and **35.1% binding-pocket recovery** "
265
  "on noisy coordinates, confirming strong generalization to underlying biophysical folding constraints."
266
+ )
 
 
267
  )
268
 
269
  if __name__ == "__main__":