Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,6 +41,7 @@ COCO_CLASSES = [
|
|
| 41 |
|
| 42 |
# Prediction function
|
| 43 |
def predict(image):
|
|
|
|
| 44 |
try:
|
| 45 |
# Convert to RGB if the image has an alpha channel
|
| 46 |
if image.mode != 'RGB':
|
|
|
|
| 41 |
|
| 42 |
# Prediction function
|
| 43 |
def predict(image):
|
| 44 |
+
print("Predict function called") # Debugging line
|
| 45 |
try:
|
| 46 |
# Convert to RGB if the image has an alpha channel
|
| 47 |
if image.mode != 'RGB':
|