ShilongLiu commited on
Commit
d40ec4d
1 Parent(s): 5cf442a

close share

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -83,11 +83,9 @@ if __name__ == "__main__":
83
 
84
  parser = argparse.ArgumentParser("Grounding DINO demo", add_help=True)
85
  parser.add_argument("--debug", action="store_true", help="using debug mode")
86
- parser.add_argument("--non-share", action="store_true", help="not share the app")
87
  args = parser.parse_args()
88
 
89
- args.share = (not args.non_share)
90
-
91
  block = gr.Blocks().queue()
92
  with block:
93
  gr.Markdown("# Grounding DINO")
 
83
 
84
  parser = argparse.ArgumentParser("Grounding DINO demo", add_help=True)
85
  parser.add_argument("--debug", action="store_true", help="using debug mode")
86
+ parser.add_argument("--share", action="store_true", help="share the app")
87
  args = parser.parse_args()
88
 
 
 
89
  block = gr.Blocks().queue()
90
  with block:
91
  gr.Markdown("# Grounding DINO")