padmanabhbosamia commited on
Commit
6a34377
Β·
1 Parent(s): e6ac0c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -0
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]