Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def predict(input_mol, view_str, chains):
|
|
| 14 |
f.write(view_str)
|
| 15 |
|
| 16 |
chain_str = ""
|
| 17 |
-
chain_dict = json.
|
| 18 |
|
| 19 |
# sort keys in dict and add colors to chain_str
|
| 20 |
for chain in sorted(chain_dict.keys()):
|
|
|
|
| 14 |
f.write(view_str)
|
| 15 |
|
| 16 |
chain_str = ""
|
| 17 |
+
chain_dict = json.loads(chains)
|
| 18 |
|
| 19 |
# sort keys in dict and add colors to chain_str
|
| 20 |
for chain in sorted(chain_dict.keys()):
|