Fix Incorrect CURL Request Example in README (#287)
This commit is contained in:
@@ -29,13 +29,7 @@ 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"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}'
|
}'
|
||||||
|
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user