mennamostafa55555 commited on
Commit
b2c8c5a
·
1 Parent(s): dac8745

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -3,13 +3,13 @@ import gradio as gr
3
  from ultralytics import YOLO
4
  import sahi
5
 
 
 
6
 
7
 
8
  # Images
9
- sahi.utils.file.download_from_url(
10
- "https://huggingface.co/spaces/mennamostafa55555/ms/blob/main/download_13.png",
11
- "tu1.png",
12
- )
13
  sahi.utils.file.download_from_url(
14
  "https://huggingface.co/spaces/mennamostafa55555/ms/blob/main/download_14.png",
15
  "tu2.png",
@@ -58,7 +58,7 @@ outputs = gr.Image(type="filepath", label="Output Image")
58
  title = "Ultralytics YOLOv8 Segmentation Demo"
59
  import os
60
  examples = [
61
- ["tu1.png", 0.6, 0.45],
62
  ["tu2.png", 0.25, 0.45],
63
  ["tu3.jpg", 0.25, 0.45],
64
  ]
 
3
  from ultralytics import YOLO
4
  import sahi
5
 
6
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64be73e7b9296eef62f1b73c/8-BNbM15yQEntvDEyUkPZ.jpeg)
7
+
8
 
9
 
10
  # Images
11
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64be73e7b9296eef62f1b73c/8-BNbM15yQEntvDEyUkPZ.jpeg)
12
+
 
 
13
  sahi.utils.file.download_from_url(
14
  "https://huggingface.co/spaces/mennamostafa55555/ms/blob/main/download_14.png",
15
  "tu2.png",
 
58
  title = "Ultralytics YOLOv8 Segmentation Demo"
59
  import os
60
  examples = [
61
+ ["tu1.jpeg", 0.6, 0.45],
62
  ["tu2.png", 0.25, 0.45],
63
  ["tu3.jpg", 0.25, 0.45],
64
  ]