Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def segment_image(image):
|
|
51 |
output = cv2.imread('output.png')
|
52 |
return Image.fromarray(output)
|
53 |
|
54 |
-
with gr.
|
55 |
gr.Markdown("## Segment-anything Demo")
|
56 |
|
57 |
with gr.Row():
|
|
|
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():
|