bug fix
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def predict_and_analyze(model_name, num_channels, dim, image):
|
|
130 |
|
131 |
ax0, ax1, ax2 = axs[0], axs[1], axs[2]
|
132 |
|
133 |
-
im0 =
|
134 |
origin=origin)
|
135 |
im1 = ax1.imshow(activation_1, cmap=cmap,
|
136 |
origin=origin)
|
@@ -145,8 +145,8 @@ def predict_and_analyze(model_name, num_channels, dim, image):
|
|
145 |
fig.colorbar(ims[i], cax=cax, orientation='vertical')
|
146 |
|
147 |
ax0.set_title('Input', fontsize=titles)
|
148 |
-
ax1.set_title('
|
149 |
-
ax2.set_title('
|
150 |
|
151 |
print("Sending to Hugging Face")
|
152 |
|
|
|
130 |
|
131 |
ax0, ax1, ax2 = axs[0], axs[1], axs[2]
|
132 |
|
133 |
+
im0 = ax0.imshow(input_image, cmap=cmap,
|
134 |
origin=origin)
|
135 |
im1 = ax1.imshow(activation_1, cmap=cmap,
|
136 |
origin=origin)
|
|
|
145 |
fig.colorbar(ims[i], cax=cax, orientation='vertical')
|
146 |
|
147 |
ax0.set_title('Input', fontsize=titles)
|
148 |
+
ax1.set_title('Activation 1', fontsize=titles)
|
149 |
+
ax2.set_title('Activation 2', fontsize=titles)
|
150 |
|
151 |
print("Sending to Hugging Face")
|
152 |
|