Spaces:
Runtime error
Runtime error
lewisliuX123
commited on
Commit
·
c018e63
1
Parent(s):
393eca6
Update bot/chatgpt/chat_gpt_bot.py
Browse files
bot/chatgpt/chat_gpt_bot.py
CHANGED
@@ -11,8 +11,8 @@ user_session = dict()
|
|
11 |
# OpenAI对话模型API (可用)
|
12 |
class ChatGPTBot(Bot):
|
13 |
def __init__(self):
|
14 |
-
openai.api_key =
|
15 |
-
openai.api_base="
|
16 |
|
17 |
def reply(self, query, context=None):
|
18 |
# acquire reply content
|
|
|
11 |
# OpenAI对话模型API (可用)
|
12 |
class ChatGPTBot(Bot):
|
13 |
def __init__(self):
|
14 |
+
openai.api_key = 'none'
|
15 |
+
openai.api_base="http://i-1.gpushare.com:16398/v1"
|
16 |
|
17 |
def reply(self, query, context=None):
|
18 |
# acquire reply content
|