Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
zhaoyu6
sglang
Commits
9076386d
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "20b8d2306c3d9501b4d47399b6e56d63d30d53a3"
Unverified
Commit
9076386d
authored
Jan 23, 2024
by
0xWe11es.eth
Committed by
GitHub
Jan 23, 2024
Browse files
Fix SRT endpoint api json syntax (#84)
parent
959c4174
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
9076386d
...
@@ -235,7 +235,7 @@ curl http://localhost:30000/generate \
...
@@ -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,",
"param
eter
s": {
"
sampling_
params": {
"max_new_tokens": 16,
"max_new_tokens": 16,
"temperature": 0
"temperature": 0
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment