Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ def predict(img):
|
|
54 |
{label: confidence, label: confidence, ...}
|
55 |
"""
|
56 |
print("Input type:", type(img))
|
|
|
57 |
|
58 |
try:
|
59 |
if img is None or not isinstance(img, dict) or 'image' not in img:
|
|
|
54 |
{label: confidence, label: confidence, ...}
|
55 |
"""
|
56 |
print("Input type:", type(img))
|
57 |
+
print("Input type:", img.keys())
|
58 |
|
59 |
try:
|
60 |
if img is None or not isinstance(img, dict) or 'image' not in img:
|