sayedM commited on
Commit
7f3ea1a
·
1 Parent(s): beb9338

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -7,9 +7,9 @@ import sahi
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,7 +55,7 @@ inputs = [
55
  outputs = gr.Image(type="filepath", label="Output Image")
56
  title = "YOLOv8 Segmentation Demo"
57
  import os
58
- examples = [["ex1.jpg", 0.5, 0.45],
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,