Spaces:
Runtime error
Runtime error
OmerFarooq
commited on
Commit
•
4d444b7
1
Parent(s):
12925a0
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.6):
|
94 |
heatmap = np.uint8(255 * heatmap)
|
95 |
|
96 |
# Use jet colormap to colorize heatmap
|