File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff 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
146146A 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
149149Open 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}
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ Pillow>=8.0.0
77numpy-stl >= 2.12.0
88trimesh >= 3.8.11
99nibabel >= 3.2.1
10- torch >= 1.12.0
11- monai >= 1.0 .0
10+ torch >= 2.4.1
11+ monai >= 1.5 .0
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments