Sanchez fernandez commited on
Commit
79d82ee
1 Parent(s): 3c88f48

Include similarity score

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -481,7 +481,7 @@ def images_from_molecule(top_n, model_path):
481
 
482
  index = n+1
483
  score = float(top_probs[n]) * 100
484
- col.image(im, caption=f"Top {index}. Score: {round(score)}", width=200)
485
 
486
 
487
  page_names_to_funcs = {
481
 
482
  index = n+1
483
  score = float(top_probs[n]) * 100
484
+ col.image(im, caption=f"Top {index}. Score: {round(score, 2)}", width=200)
485
 
486
 
487
  page_names_to_funcs = {