Spaces:
Runtime error
Runtime error
OmerFarooq
commited on
Commit
•
c97a1bf
1
Parent(s):
a6cf15d
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def create_heatmap(model, imgs, class_index):
|
|
90 |
|
91 |
|
92 |
#superimpose function buth for a single input image
|
93 |
-
def superimpose_single(heatmap, img, alpha = 0.
|
94 |
heatmap = np.uint8(255 * heatmap)
|
95 |
|
96 |
# Use jet colormap to colorize heatmap
|
|
|
90 |
|
91 |
|
92 |
#superimpose function buth for a single input image
|
93 |
+
def superimpose_single(heatmap, img, alpha = 0.7):
|
94 |
heatmap = np.uint8(255 * heatmap)
|
95 |
|
96 |
# Use jet colormap to colorize heatmap
|