Skip to content

Commit a6036a4

Browse files
committed
Update per review comments
Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent a7d3d35 commit a6036a4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

platforms/aidoc/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Change working directory to the same level as this README.
119119
gdown https://drive.google.com/uc?id=1IwWMpbo2fd38fKIqeIdL8SKTGvkn31tK
120120
```
121121

122-
Unzip the file to local folders. If deviating from the path noted below, please adjuest the env var values
122+
Unzip the file to local folders. If deviating from the path noted below, please adjust the env var values
123123

124124
```
125125
unzip -o "ai_spleen_seg_bundle_data.zip"
@@ -144,7 +144,7 @@ Change working directory to the same level as this README.
144144
## Test API Endpoints
145145

146146
A simplest test client is provided, which makes call to the endpoint, as well as providing
147-
a callback endpoint to receives message content at the specidied port.
147+
a callback endpoint to receives message content at the specified port.
148148

149149
Open another console window and change directory to the same as this file.
150150

@@ -241,7 +241,7 @@ Or in case of an error:
241241
242242
```json
243243
{
244-
"run_success": False,
244+
"run_success": false,
245245
"error_message": "E.g., Model network is not load and model file not found.",
246246
"error_code": 500
247247
}

platforms/aidoc/restful_app/ai_spleen_seg_app/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ Pillow>=8.0.0
77
numpy-stl>=2.12.0
88
trimesh>=3.8.11
99
nibabel>=3.2.1
10-
torch>=1.12.0
11-
monai>=1.0.0
10+
torch>=2.4.1
11+
monai>=1.5.0

platforms/aidoc/restful_app/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,6 @@ def process():
165165
help="Port to listen on. Defaults to env var FLASK_PORT or 5000.",
166166
)
167167
args = parser.parse_args()
168-
host = args.host or os.environ.get("FLASK_HOST", "0.0.0.0")
169-
port = args.port or int(os.environ.get("FLASK_PORT", 5000))
168+
host = args.host
169+
port = args.port
170170
app.run(host=host, port=port)

0 commit comments

Comments
 (0)