mrtlive commited on
Commit
7fee382
2 Parent(s): 381c83f 1b6d2a3

Merge branch 'main' of https://huggingface.co/spaces/mrtlive/segment-anything-model

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. sam_vit_h_4b8939.pth +3 -0
app.py CHANGED
@@ -51,8 +51,8 @@ def segment_image(image):
51
  output = cv2.imread('output.png')
52
  return Image.fromarray(output)
53
 
54
- with gr.blocks() as demo:
55
- gr.MArkdown("## Segment-anything Demo")
56
 
57
  with gr.Row():
58
  image = gr.Image()
 
51
  output = cv2.imread('output.png')
52
  return Image.fromarray(output)
53
 
54
+ with gr.Blocks() as demo:
55
+ gr.Markdown("## Segment-anything Demo")
56
 
57
  with gr.Row():
58
  image = gr.Image()
sam_vit_h_4b8939.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7bf3b02f3ebf1267aba913ff637d9a2d5c33d3173bb679e46d9f338c26f262e
3
+ size 2564550879