Spaces:
Runtime error
Runtime error
as-cle-bert
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ with gr.Blocks() as demo1:
|
|
174 |
else:
|
175 |
seqs = load_protein_sequences(inputfile)
|
176 |
for header in seqs:
|
177 |
-
pdb_path = f
|
178 |
html, pdb = fold_protein_wpdb(seqs[seq], pdb_path)
|
179 |
gr.HTML(html, label=f"{seq} structural representation")
|
180 |
Molecule3D(pdb, label=f"{seq} molecular representation")
|
|
|
174 |
else:
|
175 |
seqs = load_protein_sequences(inputfile)
|
176 |
for header in seqs:
|
177 |
+
pdb_path = f'{seq.replace(" ", "_").replace(",","")}.pdb'
|
178 |
html, pdb = fold_protein_wpdb(seqs[seq], pdb_path)
|
179 |
gr.HTML(html, label=f"{seq} structural representation")
|
180 |
Molecule3D(pdb, label=f"{seq} molecular representation")
|