Spaces:
Sleeping
Sleeping
Ana Sanchez
commited on
Commit
·
b0f96c2
1
Parent(s):
81dc1fb
Fix path
Browse files
app.py
CHANGED
@@ -458,7 +458,7 @@ def images_from_molecule():
|
|
458 |
top_probs = torch.flatten(top_probs)
|
459 |
top_labels = torch.flatten(top_labels)
|
460 |
|
461 |
-
img_index = pd.read_csv(
|
462 |
img_index.set_index(["SAMPLE_KEY"], inplace=True)
|
463 |
top_ids = [img_ids[i] for i in top_labels]
|
464 |
|
|
|
458 |
top_probs = torch.flatten(top_probs)
|
459 |
top_labels = torch.flatten(top_labels)
|
460 |
|
461 |
+
img_index = pd.read_csv(img_index_file)
|
462 |
img_index.set_index(["SAMPLE_KEY"], inplace=True)
|
463 |
top_ids = [img_ids[i] for i in top_labels]
|
464 |
|