kritsg commited on
Commit
c1df533
·
1 Parent(s): 5d3e27c

debugging inability to produce correct gif depending on parameters

Browse files
Files changed (1) hide show
  1. image_posterior.py +1 -1
image_posterior.py CHANGED
@@ -82,7 +82,7 @@ def create_gif(explanation_blr, img_name, segments, image, n_images=20, n_max=5)
82
  os.remove(f'file/{img_name}_explanation.gif')
83
 
84
  ims = [imageio.imread(f) for f in paths]
85
- imageio.mimwrite(f'{img_name}_explanation.gif', ims)
86
 
87
  html = (
88
  "<div >"
 
82
  os.remove(f'file/{img_name}_explanation.gif')
83
 
84
  ims = [imageio.imread(f) for f in paths]
85
+ imageio.mimwrite(f'file/{img_name}_explanation.gif', ims)
86
 
87
  html = (
88
  "<div >"