Spaces:
Runtime error
Runtime error
Commit
Β·
0c679e0
1
Parent(s):
f4f6792
Update app.py
Browse files
app.py
CHANGED
@@ -311,4 +311,4 @@ if __name__ == "__main__":
|
|
311 |
parser.add_argument("--port", default=8000, type=int, help="port number")
|
312 |
# parser.add_argument('--model', nargs='+', default=['yolov5s'], help='model(s) to run, i.e. --model yolov5n yolov5s')
|
313 |
opt = parser.parse_args()
|
314 |
-
uvicorn.run(app, port=opt.port)
|
|
|
311 |
parser.add_argument("--port", default=8000, type=int, help="port number")
|
312 |
# parser.add_argument('--model', nargs='+', default=['yolov5s'], help='model(s) to run, i.e. --model yolov5n yolov5s')
|
313 |
opt = parser.parse_args()
|
314 |
+
uvicorn.run(app, port=opt.port)
|