Spaces:
Sleeping
Sleeping
praysimanjuntak
commited on
Commit
•
3136d9f
1
Parent(s):
6db1ec2
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def annotate_image(image):
|
|
39 |
# Convert the image back to RGB for display in Gradio
|
40 |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
41 |
|
42 |
-
return image,
|
43 |
|
44 |
# Create the Gradio interface
|
45 |
iface = gr.Interface(
|
|
|
39 |
# Convert the image back to RGB for display in Gradio
|
40 |
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
|
41 |
|
42 |
+
return image, detection_count
|
43 |
|
44 |
# Create the Gradio interface
|
45 |
iface = gr.Interface(
|