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:
```
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"]
}'
```