Spaces:
Runtime error
Runtime error
Commit ·
3ff55ee
1
Parent(s): 9d5eea3
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import torch
|
| 3 |
from PIL import Image
|
| 4 |
|
| 5 |
-
model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt'
|
| 6 |
|
| 7 |
|
| 8 |
def yolo(im, size=640):
|
|
|
|
| 2 |
import torch
|
| 3 |
from PIL import Image
|
| 4 |
|
| 5 |
+
model = torch.hub.load('ultralytics/yolov5', 'custom', path='best.pt')
|
| 6 |
|
| 7 |
|
| 8 |
def yolo(im, size=640):
|