diff --git a/monailabel/main.py b/monailabel/main.py index d6b4e80cc..8f692c60f 100644 --- a/monailabel/main.py +++ b/monailabel/main.py @@ -62,7 +62,7 @@ def args_start_server(self, parser): parser.add_argument("--workers", default=None, type=int, help="Number of worker processes") parser.add_argument("--limit_concurrency", default=None, type=int, help="Max concurrent connections") parser.add_argument("--access_log", action="store_true", help="Enable access log") - parser.add_argument("--root_path", default="/", help="Application root path") + parser.add_argument("--root_path", default="", help="Application root path") parser.add_argument("--log_level", default="info", help="Log level") parser.add_argument("-l", "--log_config", default=None, type=str, help="Logging config") diff --git a/requirements.txt b/requirements.txt index 69257d0ec..e95a76226 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ monai[nibabel, skimage, pillow, tensorboard, gdown, ignite, torchvision, itk, tq uvicorn==0.21.1 pydantic>=1.10.7,<2.0.0 python-dotenv==1.0.0 -fastapi==0.95.0 +fastapi==0.110.0 python-multipart==0.0.9 httpx==0.23.3 schedule==1.1.0 diff --git a/setup.cfg b/setup.cfg index 3a3aabf7d..2165c3a94 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,7 +39,7 @@ install_requires = uvicorn==0.21.1 pydantic>=1.10.7,<2.0.0 python-dotenv==1.0.0 - fastapi==0.95.0 + fastapi==0.110.0 python-multipart==0.0.9 requests-toolbelt==0.10.1 httpx==0.23.3