Fix SRT endpoint api json syntax (#84)
This commit is contained in:
@@ -235,7 +235,7 @@ curl http://localhost:30000/generate \
|
|||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"text": "Once upon a time,",
|
"text": "Once upon a time,",
|
||||||
"parameters": {
|
"sampling_params": {
|
||||||
"max_new_tokens": 16,
|
"max_new_tokens": 16,
|
||||||
"temperature": 0
|
"temperature": 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user