Browse Source

Update 'server.py'

meishuhuan 2 years ago
parent
commit
a089757a03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server.py

+ 1 - 1
server.py

@@ -91,7 +91,7 @@ def drag_and_drop_detect(request: Request):
 def detect_via_web_form(request: Request,
                         file_list: List[UploadFile] = File(...),
                         model_name: str = Form(...),
-                        img_size: int = Form(1824)):
+                        img_size: int = Form(800)):
 
     '''
     Requires an image file upload, model name (ex. yolov5s). Optional image size parameter (Default 1824).