merve HF staff commited on
Commit
60a0ba0
1 Parent(s): f9b12c3

Added explanation

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -302,8 +302,18 @@ if __name__ == "__main__":
302
  if not args.no_gradio_queue:
303
  block = block.queue()
304
 
 
 
 
 
 
 
 
 
 
 
 
305
 
306
- with block:
307
  with gr.Row():
308
  with gr.Column():
309
  input_image = gr.Image(
 
302
  if not args.no_gradio_queue:
303
  block = block.queue()
304
 
305
+ css = """
306
+ #mkd {
307
+ height: 500px;
308
+ overflow: auto;
309
+ border: 1px solid #ccc;
310
+ }
311
+ """
312
+ with gr.Blocks(css=css) as demo:
313
+
314
+ gr.HTML("<h1><center>Grounded Segment Anything<center><h1>")
315
+ gr.HTML("<h3><center>This is the demo for [Grounded Segment Anything](https://github.com/IDEA-Research/Grounded-Segment-Anything), which combines Segment Anything Model with Grounding DINO.</h3>")
316
 
 
317
  with gr.Row():
318
  with gr.Column():
319
  input_image = gr.Image(