Spaces:
Runtime error
Runtime error
add GitHub link
Browse files
app.py
CHANGED
@@ -47,9 +47,9 @@ mask_generator = SamAutomaticMaskGenerator(sam)
|
|
47 |
predictor = SamPredictor(sam)
|
48 |
|
49 |
# Description
|
50 |
-
title = "<center><strong><font size='8'>EdgeSAM<font></strong></center>"
|
51 |
|
52 |
-
description_p = """ # Instructions for point mode [[Instructional video](https://huggingface.co/spaces/chongzhou/EdgeSAM/
|
53 |
|
54 |
1. Upload an image or click one of the provided examples.
|
55 |
2. Select the point type.
|
@@ -60,7 +60,7 @@ description_p = """ # Instructions for point mode [[Instructional video](https:/
|
|
60 |
|
61 |
"""
|
62 |
|
63 |
-
description_b = """ # Instructions for box mode [[Instructional video](https://huggingface.co/spaces/chongzhou/EdgeSAM/
|
64 |
|
65 |
1. Upload an image or click one of the provided examples.
|
66 |
2. Click twice on the image (diagonal points of the box).
|
|
|
47 |
predictor = SamPredictor(sam)
|
48 |
|
49 |
# Description
|
50 |
+
title = "<center><strong><font size='8'>EdgeSAM<font></strong> <a href='https://github.com/chongzhou96/EdgeSAM'><font size='6'>[GitHub]</font></a> </center>"
|
51 |
|
52 |
+
description_p = """ # Instructions for point mode [[Instructional video](https://huggingface.co/spaces/chongzhou/EdgeSAM/resolve/main/assets/point-instructions.mov)]
|
53 |
|
54 |
1. Upload an image or click one of the provided examples.
|
55 |
2. Select the point type.
|
|
|
60 |
|
61 |
"""
|
62 |
|
63 |
+
description_b = """ # Instructions for box mode [[Instructional video](https://huggingface.co/spaces/chongzhou/EdgeSAM/resolve/main/assets/box-instructions.mov)]
|
64 |
|
65 |
1. Upload an image or click one of the provided examples.
|
66 |
2. Click twice on the image (diagonal points of the box).
|