Improve the structure of CI (#911)
This commit is contained in:
9
scripts/deprecated/test_curl.sh
Normal file
9
scripts/deprecated/test_curl.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
curl http://localhost:30000/generate \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"text": "Once upon a time,",
|
||||
"sampling_params": {
|
||||
"max_new_tokens": 16,
|
||||
"temperature": 0
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user