kritsg commited on
Commit
bf1b8de
·
1 Parent(s): 8d20412

modified html embed

Browse files
Files changed (1) hide show
  1. image_posterior.py +1 -2
image_posterior.py CHANGED
@@ -92,8 +92,7 @@ def create_gif(explanation_blr, img_name, segments, image, prediction, n_images=
92
 
93
  html = (
94
  "<div >"
95
- f"<img src='file/{img_name}_explanation.gif' alt='explanation gif'/>"
96
- f"<p>Prediction is {prediction}: {labels_dict[prediction]}</p>"
97
  + "</div>"
98
  )
99
  return html
 
92
 
93
  html = (
94
  "<div >"
95
+ f"<img src='file/{img_name}_explanation.gif' alt='explanation gif'/> <p>Prediction is {prediction}: {labels_dict[prediction]}</p>"
 
96
  + "</div>"
97
  )
98
  return html