Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
|
| 2 |
-
|
| 3 |
-
from ultralytics import YOLO
|
| 4 |
-
from PIL import Image
|
| 5 |
def function(image):
|
| 6 |
model = YOLO('/content/drive/MyDrive/new Movie/best_yolo_2.pt')
|
| 7 |
image = np.array(image)
|
|
|
|
| 1 |
|
| 2 |
+
|
|
|
|
|
|
|
| 3 |
def function(image):
|
| 4 |
model = YOLO('/content/drive/MyDrive/new Movie/best_yolo_2.pt')
|
| 5 |
image = np.array(image)
|