Fix SRT endpoint api json syntax (#84)

This commit is contained in:
0xWe11es.eth
2024-01-23 16:25:26 +08:00
committed by GitHub
parent 959c4174b2
commit 9076386d90

View File

@@ -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
} }