colbyford commited on
Commit
ff4e1a8
1 Parent(s): 389bd67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -80,7 +80,7 @@ csg_app = gr.Interface(
80
  inputs=[
81
  gr.Slider(10, 250, label = "Sequence Length"),
82
  gr.File(file_types=["a3m"], label = "MSA File"),
83
- gr.Number(value=64, placeholder=64, precision=0, label = "Number of Sequences to Sample"),
84
  gr.Dropdown(["EvoDiff-MSA"], value="EvoDiff-MSA", type="value", label = "Model")
85
  ],
86
  outputs=["text"],
@@ -93,10 +93,9 @@ idr_app = gr.Interface(
93
  fn=make_inpainted_idrs,
94
  inputs=[
95
  gr.Textbox(value = "DQTERTVRSFEGRRTAPYLDSRNVLTIGYGHLLNRPGANKSWEGRLTSALPREFKQRLTELAASQLHETDVRLATARAQALYGSGAYFESVPVSLNDLWFDSVFNLGERKLLNWSGLRTKLESRDWGAAAKDLGRHTFGREPVSRRMAESMRMRRGIDLNHYNI",
96
- placeholder="DQTERTVRSFEGRRTAPYLDSRNVLTIGYGHLLNRPGANKSWEGRLTSALPREFKQRLTELAASQLHETDVRLATARAQALYGSGAYFESVPVSLNDLWFDSVFNLGERKLLNWSGLRTKLESRDWGAAAKDLGRHTFGREPVSRRMAESMRMRRGIDLNHYNI",
97
  label = "Sequence"),
98
- gr.Number(value=20, placeholder=20, precision=0, label = "Start Index"),
99
- gr.Number(value=50, placeholder=50, precision=0, label = "End Index"),
100
  gr.Dropdown(["EvoDiff-Seq"], value="EvoDiff-Seq", type="value", label = "Model")
101
  ],
102
  outputs=["text"],
@@ -107,10 +106,10 @@ idr_app = gr.Interface(
107
  scaffold_app = gr.Interface(
108
  fn=make_scaffold_motifs,
109
  inputs=[
110
- gr.Textbox(value="1prw", placeholder="1prw", label = "PDB Code"),
111
- gr.Textbox(value="[15, 51]", placeholder="[15, 51]", label = "Start Index (as list)"),
112
- gr.Textbox(value="[34, 70]", placeholder="[34, 70]", label = "End Index (as list)"),
113
- gr.Number(value=75, placeholder=75, precision=0, label = "Scaffold Length"),
114
  gr.Dropdown(["EvoDiff-Seq", "EvoDiff-MSA"], value="EvoDiff-Seq", type="value", label = "Model")
115
  ],
116
  outputs=["text"],
 
80
  inputs=[
81
  gr.Slider(10, 250, label = "Sequence Length"),
82
  gr.File(file_types=["a3m"], label = "MSA File"),
83
+ gr.Number(value=64, precision=0, label = "Number of Sequences to Sample"),
84
  gr.Dropdown(["EvoDiff-MSA"], value="EvoDiff-MSA", type="value", label = "Model")
85
  ],
86
  outputs=["text"],
 
93
  fn=make_inpainted_idrs,
94
  inputs=[
95
  gr.Textbox(value = "DQTERTVRSFEGRRTAPYLDSRNVLTIGYGHLLNRPGANKSWEGRLTSALPREFKQRLTELAASQLHETDVRLATARAQALYGSGAYFESVPVSLNDLWFDSVFNLGERKLLNWSGLRTKLESRDWGAAAKDLGRHTFGREPVSRRMAESMRMRRGIDLNHYNI",
 
96
  label = "Sequence"),
97
+ gr.Number(value=20, precision=0, label = "Start Index"),
98
+ gr.Number(value=50, precision=0, label = "End Index"),
99
  gr.Dropdown(["EvoDiff-Seq"], value="EvoDiff-Seq", type="value", label = "Model")
100
  ],
101
  outputs=["text"],
 
106
  scaffold_app = gr.Interface(
107
  fn=make_scaffold_motifs,
108
  inputs=[
109
+ gr.Textbox(value="1prw", label = "PDB Code"),
110
+ gr.Textbox(value="[15, 51]", label = "Start Index (as list)"),
111
+ gr.Textbox(value="[34, 70]", label = "End Index (as list)"),
112
+ gr.Number(value=75, precision=0, label = "Scaffold Length"),
113
  gr.Dropdown(["EvoDiff-Seq", "EvoDiff-MSA"], value="EvoDiff-Seq", type="value", label = "Model")
114
  ],
115
  outputs=["text"],