version: "2.3"
services:
fastgpt-codegen:
container_name: fastgpt-codegen
image: lowinli98/fastgpt-codegen:v0.0.6
expose:
- 7104
ports:
- "7104:7104"
environment:
- PORT=7104
- GUNICORN_WORKER=1
- GUNICORN_THREADS=1
restart: always
curl --location --request POST 'http://localhost:7104/generate_mono' \
--header 'Content-Type: application/json' \
--data-raw '{
"inputs": "def calculdate_mean(x, y): \n",
"parameters": {
"do_sample": true
}
}'
curl --location --request POST 'http://localhost:7104/generate_multi' \
--header 'Content-Type: application/json' \
--data-raw '{
"inputs": "def calculdate_mean(x, y): \n",
"parameters": {
"do_sample": true
}
}'
Content type
Image
Digest
sha256:26e5f2705…
Size
1.5 GB
Last updated
over 3 years ago
docker pull lowinli98/fastgpt-codegen:v0.0.8