Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reminia committed Oct 27, 2023
1 parent 6b2ddd8 commit 924ed32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ A simple translate api that proxies to openai written by Golang.
2. Build by `make build`.
3. Start server by `./translate`.
4. Use translate-cli by `./translate-cli -c "content" -l Chinese -m "gpt-3.5-turbo"`, -l and -m are optional.
translate-cli sends request to translate server so it needs to setup TRANSLATE_ENDPOINT env var.
If not set, it's default to http://localhost:8080/translate.

* translate-cli sends request to the translate server so it requires TRANSLATE_ENDPOINT setup.
* If not set, it's default to http://localhost:8080/translate.

## Endpoints

Expand Down

0 comments on commit 924ed32

Please sign in to comment.