Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def process_smiles(smiles):
|
|
20 |
# Generate molecule image
|
21 |
img_path = "molecule"
|
22 |
filepath= "molecule.png"
|
23 |
-
save_high_quality_png(smiles,
|
24 |
|
25 |
# Convert predictions to a friendly format
|
26 |
prediction_dict = {pred["label"]: pred["score"] for pred in predictions[0]}
|
|
|
20 |
# Generate molecule image
|
21 |
img_path = "molecule"
|
22 |
filepath= "molecule.png"
|
23 |
+
save_high_quality_png(smiles, img_path)
|
24 |
|
25 |
# Convert predictions to a friendly format
|
26 |
prediction_dict = {pred["label"]: pred["score"] for pred in predictions[0]}
|