Spaces:
Runtime error
Runtime error
OmerFarooq
commited on
Commit
•
03b3f8d
1
Parent(s):
af5aead
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def superimpose_single(heatmap, img, alpha = 0.4):
|
|
81 |
|
82 |
# Superimpose the heatmap on original image
|
83 |
superimposed_img = jet_heatmap * alpha + img
|
84 |
-
superimposed_img = keras.utils.array_to_img(superimposed_img)
|
85 |
|
86 |
return superimposed_img
|
87 |
|
|
|
81 |
|
82 |
# Superimpose the heatmap on original image
|
83 |
superimposed_img = jet_heatmap * alpha + img
|
84 |
+
# superimposed_img = keras.utils.array_to_img(superimposed_img)
|
85 |
|
86 |
return superimposed_img
|
87 |
|