Spaces:
Runtime error
Runtime error
Rename yolov5_classify.py to app.py
Browse files
yolov5_classify.py → app.py
RENAMED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
import requests
|
6 |
from PIL import Image
|
7 |
|
8 |
-
weights='
|
9 |
|
10 |
model = DetectMultiBackend(weights)
|
11 |
|
|
|
5 |
import requests
|
6 |
from PIL import Image
|
7 |
|
8 |
+
weights='yolov5s-cls.pt'
|
9 |
|
10 |
model = DetectMultiBackend(weights)
|
11 |
|