mattmdjaga commited on
Commit
fa46c8a
1 Parent(s): 1c5a7a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -59,6 +59,8 @@ def main_func(inputs):
59
 
60
 
61
  with gr.Blocks() as demo:
 
 
62
  gr.Markdown("# Demo to run Segment Anything base model")
63
  gr.Markdown("""This app uses the [Segment Anything](https://huggingface.co/facebook/sam-vit-base) model from Meta to get a mask from a points in an image.
64
  Currently it only works for creating dots for one object. But, I'm planning to add extra features to make it work for multiple objects.
 
59
 
60
 
61
  with gr.Blocks() as demo:
62
+ gr.Markdown("# How to use")
63
+ gr.Markdown("To start, input an image, then use the brush to create dots on the object which you want to segment, don't worry if your dots aren't perfect as the code will find the middle of each drawn item. Then press the segment button to create masks for the object that the dots are on.")
64
  gr.Markdown("# Demo to run Segment Anything base model")
65
  gr.Markdown("""This app uses the [Segment Anything](https://huggingface.co/facebook/sam-vit-base) model from Meta to get a mask from a points in an image.
66
  Currently it only works for creating dots for one object. But, I'm planning to add extra features to make it work for multiple objects.