Spaces:
Runtime error
Runtime error
TianlaiChen
commited on
Commit
•
a317320
1
Parent(s):
303ad99
gen
Browse files
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",
|
45 |
info='Default value is 3')
|
46 |
],
|
47 |
-
outputs="
|
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")
|