Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,9 +7,9 @@ import sahi
|
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
-
sahi.utils.file.download_from_url(
|
| 11 |
-
|
| 12 |
-
|
| 13 |
)
|
| 14 |
sahi.utils.file.download_from_url(
|
| 15 |
"https://raw.githubusercontent.com/mensss/vvvvv/main/e7d86208-a7e1-4d2a-963c-af6102430b0c%20(1).jpg",
|
|
@@ -55,7 +55,7 @@ inputs = [
|
|
| 55 |
outputs = gr.Image(type="filepath", label="Output Image")
|
| 56 |
title = "YOLOv8 Segmentation Demo"
|
| 57 |
import os
|
| 58 |
-
examples = [["ex1.
|
| 59 |
["tu3.jpg", 0.5, 0.45],
|
| 60 |
]
|
| 61 |
demo_app = gr.Interface(examples=examples,
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
+
# sahi.utils.file.download_from_url(
|
| 11 |
+
# "https://cdn.discordapp.com/attachments/1133447881009934490/1147993846224011316/ex1.png",
|
| 12 |
+
# "ex1.jpg",
|
| 13 |
)
|
| 14 |
sahi.utils.file.download_from_url(
|
| 15 |
"https://raw.githubusercontent.com/mensss/vvvvv/main/e7d86208-a7e1-4d2a-963c-af6102430b0c%20(1).jpg",
|
|
|
|
| 55 |
outputs = gr.Image(type="filepath", label="Output Image")
|
| 56 |
title = "YOLOv8 Segmentation Demo"
|
| 57 |
import os
|
| 58 |
+
examples = [["ex1.png", 0.5, 0.45],
|
| 59 |
["tu3.jpg", 0.5, 0.45],
|
| 60 |
]
|
| 61 |
demo_app = gr.Interface(examples=examples,
|