Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def preprocess_image(image):
|
|
15 |
|
16 |
# Add batch dimension (model expects batch of images)
|
17 |
image = tf.expand_dims(image, axis=0)
|
18 |
-
|
19 |
return image
|
20 |
|
21 |
# Function to make predictions
|
|
|
15 |
|
16 |
# Add batch dimension (model expects batch of images)
|
17 |
image = tf.expand_dims(image, axis=0)
|
18 |
+
print(f"Image shape after adding batch dimension: {image.shape}")
|
19 |
return image
|
20 |
|
21 |
# Function to make predictions
|