Fix Incorrect CURL Request Example in README (#287)
This commit is contained in:
@@ -27,15 +27,9 @@ tritonserver --model-repository=/mnt/models
|
||||
Send request to the server:
|
||||
```
|
||||
curl -X POST http://localhost:8000/v2/models/character_generation/generate \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"inputs": [
|
||||
{
|
||||
"name": "INPUT_TEXT",
|
||||
"datatype": "STRING",
|
||||
"shape": [1],
|
||||
"data": ["Name1"]
|
||||
}
|
||||
]
|
||||
}'
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"INPUT_TEXT": ["harry"]
|
||||
}'
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user