Fix Incorrect CURL Request Example in README (#287)

This commit is contained in:
Arsalan
2024-03-12 22:09:38 -04:00
committed by GitHub
parent ad1dd74673
commit 745ea007ac

View File

@@ -27,15 +27,9 @@ tritonserver --model-repository=/mnt/models
Send request to the server: Send request to the server:
``` ```
curl -X POST http://localhost:8000/v2/models/character_generation/generate \ curl -X POST http://localhost:8000/v2/models/character_generation/generate \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{ -d '{
"inputs": [ "INPUT_TEXT": ["harry"]
{ }'
"name": "INPUT_TEXT",
"datatype": "STRING",
"shape": [1],
"data": ["Name1"]
}
]
}'
``` ```