Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -135,14 +135,15 @@ def make_scaffold_motifs(pdb_code, start_idx, end_idx, scaffold_length, model_ty
|
|
135 |
"new_end_index": new_end_idx
|
136 |
}
|
137 |
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
|
|
146 |
|
147 |
usg_app = gr.Interface(
|
148 |
fn=make_uncond_seq,
|
|
|
135 |
"new_end_index": new_end_idx
|
136 |
}
|
137 |
|
138 |
+
return generated_scaffold_output, None
|
139 |
+
# if pred_structure:
|
140 |
+
# # path_to_pdb = predict_protein(generated_sequence)
|
141 |
+
# path_to_pdb = f"scaffolding-pdbs/{pdb_code}.pdb"
|
142 |
+
# molhtml = display_pdb(path_to_pdb)
|
143 |
+
|
144 |
+
# return generated_scaffold_output, molhtml
|
145 |
+
# else:
|
146 |
+
# return generated_scaffold_output, None
|
147 |
|
148 |
usg_app = gr.Interface(
|
149 |
fn=make_uncond_seq,
|