Update app.py
Browse files
app.py
CHANGED
|
@@ -45,9 +45,9 @@ def inference(input_img, num_gradcam_images=1, target_layer_number=-1, transpare
|
|
| 45 |
fig = plt.figure(figsize=(12, 5))
|
| 46 |
num_rows = 2
|
| 47 |
num_cols = 5
|
| 48 |
-
for i in range(len(
|
| 49 |
ax = fig.add_subplot(num_rows, num_cols, i + 1)
|
| 50 |
-
ax.imshow(
|
| 51 |
ax.axis('off')
|
| 52 |
|
| 53 |
plt.tight_layout()
|
|
|
|
| 45 |
fig = plt.figure(figsize=(12, 5))
|
| 46 |
num_rows = 2
|
| 47 |
num_cols = 5
|
| 48 |
+
for i in range(len(visualization)):
|
| 49 |
ax = fig.add_subplot(num_rows, num_cols, i + 1)
|
| 50 |
+
ax.imshow(visualization[i])
|
| 51 |
ax.axis('off')
|
| 52 |
|
| 53 |
plt.tight_layout()
|