Skip to content

Commit

Permalink
Update WPeChatGPT.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WPeace-HcH committed Dec 4, 2023
1 parent fd59910 commit a1e88e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WPeChatGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
ZH_CN = True
# Set your API key here, or put in in the OPENAI_API_KEY environment variable.
openai.api_key = "ENTER_OPEN_API_KEY_HERE"
# Set OpenAI-Proxy if necessary.
# Set your own proxy if necessary. (e.g. Clash)
#print("WPeChatGPT has appointed the proxy.")
#proxies = {'http': "http://127.0.0.1:7890", 'https': "http://127.0.0.1:7890"}
#openai.proxy = proxies
# Set proxyAPI if you need.
# Set reverse proxy URL if you need. (e.g. Azure)
#openai.api_base = "base_url"


Expand Down

0 comments on commit a1e88e9

Please sign in to comment.