From 745ea007acf662b3e439eeb9a1c24ddd06f10b58 Mon Sep 17 00:00:00 2001 From: Arsalan <41029759+amirarsalan90@users.noreply.github.com> Date: Tue, 12 Mar 2024 22:09:38 -0400 Subject: [PATCH] Fix Incorrect CURL Request Example in README (#287) --- examples/usage/triton/README.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/examples/usage/triton/README.md b/examples/usage/triton/README.md index 48a9c8354..387f451d4 100644 --- a/examples/usage/triton/README.md +++ b/examples/usage/triton/README.md @@ -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"] +}' + ``` \ No newline at end of file