Spaces:
Runtime error
Runtime error
Edvin Behdadijd commited on
Update app.py
Browse files8 unmodified lines91011121314158 unmodified linesdef detect_objects(image):# Convert the input image to a format YOLO can work withimage = np.array(image)# Perform detectionresults = model(image)[0]8 unmodified lines91011121314158 unmodified linesdef detect_objects(image):# Convert the input image to a format YOLO can work withimage = np.array(image,line_width=1)# Perform detectionresults = model(image)[0]
app.py+1-1