Spaces:
Running
Running
Update app.py
Browse files
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 |
}
|