panda1835 commited on
Commit
8157dfb
·
verified ·
1 Parent(s): 803d45d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -123,8 +123,8 @@ def classify(image):
123
  # Print the formatted time
124
  print(f"{formatted_time} {sorted_result}")
125
  return {
126
- "detection": detection,
127
- "classification": sorted_result,
128
  "image_width": image_width,
129
  "image_height": image_height
130
  }
 
123
  # Print the formatted time
124
  print(f"{formatted_time} {sorted_result}")
125
  return {
126
+ "detection": [detection],
127
+ "classification": [sorted_result],
128
  "image_width": image_width,
129
  "image_height": image_height
130
  }