Update model.yml
Browse files
model.yml
CHANGED
|
@@ -9,33 +9,6 @@ version: 1 # metadata.version
|
|
| 9 |
# BEGIN INFERENCE PARAMETERS
|
| 10 |
# BEGIN REQUIRED
|
| 11 |
|
| 12 |
-
load_model: # method to load python model through API
|
| 13 |
-
method: post
|
| 14 |
-
path: /loadmodel
|
| 15 |
-
transform_request: "" # jinja2 template to transform request
|
| 16 |
-
transform_response: "" # jinja2 template to transform response
|
| 17 |
-
|
| 18 |
-
destroy: # method to destroy python process through API
|
| 19 |
-
method: delete
|
| 20 |
-
path: /detroy
|
| 21 |
-
|
| 22 |
-
health_check: # method to destroy python process through API
|
| 23 |
-
method: get
|
| 24 |
-
path: /health
|
| 25 |
-
|
| 26 |
-
inference: # method to do inference python model through API
|
| 27 |
-
method: post
|
| 28 |
-
path: /inference
|
| 29 |
-
transform_request: ""
|
| 30 |
-
transform_response: ""
|
| 31 |
-
|
| 32 |
-
extra_endpoints: # untilities methods
|
| 33 |
-
- method: post
|
| 34 |
-
path: /tokenize/wav
|
| 35 |
-
transform_request: ""
|
| 36 |
-
transform_response: ""
|
| 37 |
-
- method: get
|
| 38 |
-
path: /supported_formats
|
| 39 |
|
| 40 |
# END REQUIRED
|
| 41 |
|
|
|
|
| 9 |
# BEGIN INFERENCE PARAMETERS
|
| 10 |
# BEGIN REQUIRED
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# END REQUIRED
|
| 14 |
|