Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,8 +126,9 @@ article = "<p style='text-align: center'>SAHI is a lightweight vision library fo
|
|
126 |
examples = [
|
127 |
["data/26.jpg", 'deprem-ml/Binafarktespit-yolo5x-v1-xview', "YOLOv5 + SAHI", 640, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
128 |
["data/27.jpg", 'deprem-ml/Binafarktespit-yolo5x-v1-xview', "YOLOv5 + SAHI", 640, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
129 |
-
["data/28.jpg", '
|
130 |
["data/31.jpg", 'deprem-ml/SerdarHelli-yolov8-v1-xview', "YOLOv8", 640, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
|
|
131 |
]
|
132 |
|
133 |
demo = gr.Interface(
|
@@ -139,7 +140,7 @@ demo = gr.Interface(
|
|
139 |
article=article,
|
140 |
examples=examples,
|
141 |
theme="huggingface",
|
142 |
-
cache_examples=
|
143 |
)
|
144 |
|
145 |
demo.launch(debug=True, enable_queue=True)
|
|
|
126 |
examples = [
|
127 |
["data/26.jpg", 'deprem-ml/Binafarktespit-yolo5x-v1-xview', "YOLOv5 + SAHI", 640, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
128 |
["data/27.jpg", 'deprem-ml/Binafarktespit-yolo5x-v1-xview', "YOLOv5 + SAHI", 640, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
129 |
+
["data/28.jpg", 'kadirnar/UNet-EfficientNet-b6-Istanbul', "Unet-Istanbul", 512, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
130 |
["data/31.jpg", 'deprem-ml/SerdarHelli-yolov8-v1-xview', "YOLOv8", 640, 512, 512, 0.1, 0.1, "NMS", "IOU", 0.25, False],
|
131 |
+
|
132 |
]
|
133 |
|
134 |
demo = gr.Interface(
|
|
|
140 |
article=article,
|
141 |
examples=examples,
|
142 |
theme="huggingface",
|
143 |
+
cache_examples=True,
|
144 |
)
|
145 |
|
146 |
demo.launch(debug=True, enable_queue=True)
|