Zengyf-CVer commited on
Commit
6451b1b
1 Parent(s): ad2ecf0

app update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ obj_style = ["Small Object", "Medium Object", "Large Object"]
51
  def parse_args(known=False):
52
  parser = argparse.ArgumentParser(description="Gradio YOLOv5 Det v0.4")
53
  parser.add_argument("--source", "-src", default="upload", type=str, help="input source")
54
- parser.add_argument("--source_video", "-src_v", default="upload", type=str, help="video input source")
55
  parser.add_argument("--img_tool", "-it", default="editor", type=str, help="input image tool")
56
  parser.add_argument("--model_name", "-mn", default="yolov5s", type=str, help="model name")
57
  parser.add_argument(
 
51
  def parse_args(known=False):
52
  parser = argparse.ArgumentParser(description="Gradio YOLOv5 Det v0.4")
53
  parser.add_argument("--source", "-src", default="upload", type=str, help="input source")
54
+ parser.add_argument("--source_video", "-src_v", default="webcam", type=str, help="video input source")
55
  parser.add_argument("--img_tool", "-it", default="editor", type=str, help="input image tool")
56
  parser.add_argument("--model_name", "-mn", default="yolov5s", type=str, help="model name")
57
  parser.add_argument(