xfys commited on
Commit
4ce3394
1 Parent(s): c8eba3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -7,6 +7,10 @@ from pathlib import Path
7
  from yolov5 import detect
8
  from PIL import Image
9
 
 
 
 
 
10
  # 目标检测
11
  def Detect(image):
12
  # 创建临时文件夹
 
7
  from yolov5 import detect
8
  from PIL import Image
9
 
10
+ os.system("pip install Cython")
11
+ os.system("pip install cython-bbox")
12
+
13
+
14
  # 目标检测
15
  def Detect(image):
16
  # 创建临时文件夹