Commit
·
9ccf047
1
Parent(s):
4335d9a
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ s_raw_model = YOLO("S-Raw.pt")
|
|
12 |
|
13 |
def snap(image, model, conf, iou):
|
14 |
# Convert the image to a numpy array
|
|
|
15 |
image = np.array(image)
|
16 |
|
17 |
# Run the selected model
|
|
|
12 |
|
13 |
def snap(image, model, conf, iou):
|
14 |
# Convert the image to a numpy array
|
15 |
+
type(image)
|
16 |
image = np.array(image)
|
17 |
|
18 |
# Run the selected model
|