Spaces:
Build error
Build error
onipot
commited on
Commit
•
0b403b2
1
Parent(s):
b2de2a8
gradio filepath
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ roboto_font = ImageFont.truetype("Roboto-Regular.ttf")
|
|
24 |
|
25 |
def run_yolo(img):
|
26 |
|
27 |
-
img_path = img
|
28 |
img0 = Image.open(img_path).convert("RGB")
|
29 |
draw = ImageDraw.Draw(img0)
|
30 |
|
|
|
24 |
|
25 |
def run_yolo(img):
|
26 |
|
27 |
+
img_path = img
|
28 |
img0 = Image.open(img_path).convert("RGB")
|
29 |
draw = ImageDraw.Draw(img0)
|
30 |
|