Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienShui authored May 27, 2023
1 parent db9251e commit 4acc7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Fill `http://localhost:8000/api/generate/` into `Hugging Face Code > Model ID or
## API

```shell
curl -X POST http://localhost:8000/api/generate/ -d '{"inputs": "", "parameters": {"max_new_tokens": ""}}'
curl -X POST http://localhost:8000/api/generate/ -d '{"inputs": "", "parameters": {"max_new_tokens": 64}}'
# response = {"generated_text": ""}
```

0 comments on commit 4acc7d2

Please sign in to comment.