merve HF staff commited on
Commit
f9b12c3
1 Parent(s): 159a2aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -302,19 +302,8 @@ if __name__ == "__main__":
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
-
313
- with gr.Blocks(css=css) as demo:
314
-
315
- gr.HTML("<h1><center>Grounded Segment Anything<center><h1>")
316
- 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>")
317
 
 
318
  with gr.Row():
319
  with gr.Column():
320
  input_image = gr.Image(
 
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(