Spaces:
Runtime error
Runtime error
Commit
Β·
6a34377
1
Parent(s):
e6ac0c8
Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,26 @@ device = torch.device(
|
|
20 |
# Description
|
21 |
title = "<center><strong><font size='8'>π Fast Segment Anything π€</font></strong></center>"
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
examples = [["examples/dogs.jpg"], ["examples/fruits.jpg"], ["examples/flowers.jpg"],]
|
24 |
|
25 |
default_example = examples[0]
|
|
|
20 |
# Description
|
21 |
title = "<center><strong><font size='8'>π Fast Segment Anything π€</font></strong></center>"
|
22 |
|
23 |
+
news = """ # π News
|
24 |
+
π₯ 2023/07/14: Add a "wider result" button in text mode (Thanks for [gaoxinge](https://github.com/CASIA-IVA-Lab/FastSAM/pull/95)).
|
25 |
+
π₯ 2023/06/29: Support the text mode (Thanks for [gaoxinge](https://github.com/CASIA-IVA-Lab/FastSAM/pull/47)).
|
26 |
+
π₯ This is a copy of the model created by these amazing guys above to learn.
|
27 |
+
"""
|
28 |
+
|
29 |
+
description_e = """This is a demo on Github project π [Fast Segment Anything Model](https://github.com/CASIA-IVA-Lab/FastSAM). Welcome to give a star βοΈ to it.
|
30 |
+
|
31 |
+
π― Upload an Image, segment it with Fast Segment Anything (Everything mode). The other modes will come soon.
|
32 |
+
|
33 |
+
π Check out our [Model Card π](https://huggingface.co/An-619/FastSAM) - Orginal
|
34 |
+
|
35 |
+
"""
|
36 |
+
|
37 |
+
description_p = """ # π― Instructions for points mode
|
38 |
+
This is a demo on Github project π [Fast Segment Anything Model](https://github.com/CASIA-IVA-Lab/FastSAM). Welcome to give a star βοΈ to it.
|
39 |
+
|
40 |
+
"""
|
41 |
+
|
42 |
+
|
43 |
examples = [["examples/dogs.jpg"], ["examples/fruits.jpg"], ["examples/flowers.jpg"],]
|
44 |
|
45 |
default_example = examples[0]
|