Spaces:
Sleeping
Sleeping
Commit ·
d319b6a
1
Parent(s): bf8f097
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,15 +8,15 @@ import sahi
|
|
| 8 |
|
| 9 |
|
| 10 |
sahi.utils.file.download_from_url(
|
| 11 |
-
"https://
|
| 12 |
-
"tu1.
|
| 13 |
)
|
| 14 |
sahi.utils.file.download_from_url(
|
| 15 |
-
"https://
|
| 16 |
-
"tu2.
|
| 17 |
)
|
| 18 |
sahi.utils.file.download_from_url(
|
| 19 |
-
"https://
|
| 20 |
"tu3.jpg",
|
| 21 |
)
|
| 22 |
|
|
@@ -59,8 +59,8 @@ outputs = gr.Image(type="filepath", label="Output Image")
|
|
| 59 |
title = "Ultralytics YOLOv8 Segmentation Demo"
|
| 60 |
import os
|
| 61 |
examples = [
|
| 62 |
-
["tu1.
|
| 63 |
-
["tu2.
|
| 64 |
["tu3.jpg", 0.25, 0.45],
|
| 65 |
]
|
| 66 |
demo_app = gr.Interface(examples=examples,
|
|
|
|
| 8 |
|
| 9 |
|
| 10 |
sahi.utils.file.download_from_url(
|
| 11 |
+
"https://raw.githubusercontent.com/mensss/vvvvv/main/download_13.png",
|
| 12 |
+
"tu1.png",
|
| 13 |
)
|
| 14 |
sahi.utils.file.download_from_url(
|
| 15 |
+
"https://raw.githubusercontent.com/mensss/vvvvv/main/download_14.png",
|
| 16 |
+
"tu2.png",
|
| 17 |
)
|
| 18 |
sahi.utils.file.download_from_url(
|
| 19 |
+
"https://raw.githubusercontent.com/mensss/vvvvv/main/e7d86208-a7e1-4d2a-963c-af6102430b0c%20(1).jpg",
|
| 20 |
"tu3.jpg",
|
| 21 |
)
|
| 22 |
|
|
|
|
| 59 |
title = "Ultralytics YOLOv8 Segmentation Demo"
|
| 60 |
import os
|
| 61 |
examples = [
|
| 62 |
+
["tu1.png", 0.6, 0.45],
|
| 63 |
+
["tu2.png", 0.25, 0.45],
|
| 64 |
["tu3.jpg", 0.25, 0.45],
|
| 65 |
]
|
| 66 |
demo_app = gr.Interface(examples=examples,
|