mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-21 23:57:58 +01:00
Update 12 - OpenAI API.md
This commit is contained in:
parent
55dc9845cb
commit
0c440877de
@ -237,7 +237,7 @@ OPENAI_API_BASE=http://127.0.0.1:5000/v1
|
||||
|
||||
With the [official python openai client](https://github.com/openai/openai-python), the address can be set like this:
|
||||
|
||||
```shell
|
||||
```python
|
||||
import openai
|
||||
|
||||
openai.api_key = "..."
|
||||
|
Loading…
Reference in New Issue
Block a user