Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def detect_objects(image: Image.Image):
|
|
40 |
image_with_boxes = cv2.cvtColor(image_np, cv2.COLOR_BGR2RGB)
|
41 |
return Image.fromarray(image_with_boxes)
|
42 |
|
43 |
-
example_image_paths = ["
|
44 |
|
45 |
|
46 |
app = gr.Interface(
|
|
|
40 |
image_with_boxes = cv2.cvtColor(image_np, cv2.COLOR_BGR2RGB)
|
41 |
return Image.fromarray(image_with_boxes)
|
42 |
|
43 |
+
example_image_paths = ["PC060715.jpg", "PC061030.jpg", "PC060806.jpg"] # 替换为你的图片路径
|
44 |
|
45 |
|
46 |
app = gr.Interface(
|