heuue commited on
Commit
55090a4
·
verified ·
1 Parent(s): 650bd2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = ["image1.jpg", "image2.jpg", "image3.jpg"] # 替换为你的图片路径
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(