titipata commited on
Commit
c97d443
·
verified ·
1 Parent(s): 63ef10c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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: