TianlaiChen commited on
Commit
a317320
1 Parent(s): 303ad99
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -39,12 +39,12 @@ interface = gr.Interface(
39
  fn=generate_peptide,
40
  inputs=[
41
  gr.Textbox(label="Protein Sequence", info = "Enter protein sequence here", type="text"),
42
- gr.Slider(3, 50, value=15, label="Peptide Length",
43
  info='Default value is 15'),
44
- gr.Slider(1, 10, value=3, label="Top K Value", default="3",
45
  info='Default value is 3')
46
  ],
47
- outputs="textbox",
48
  )
49
 
50
- interface.launch()
 
39
  fn=generate_peptide,
40
  inputs=[
41
  gr.Textbox(label="Protein Sequence", info = "Enter protein sequence here", type="text"),
42
+ gr.Slider(3, 50, value=15, label="Peptide Length", step=1,
43
  info='Default value is 15'),
44
+ gr.Slider(1, 10, value=3, label="Top K Value", step=1,
45
  info='Default value is 3')
46
  ],
47
+ outputs=gr.outputs.Textbox(label="Binder"),
48
  )
49
 
50
+ interface.launch(title="PepMLM: Target Sequence-Conditioned Generation of Peptide Binders via Masked Language Modeling")