Spaces:
Runtime error
Runtime error
Update bot/chatgpt/chat_gpt_bot.py
Browse files
bot/chatgpt/chat_gpt_bot.py
CHANGED
@@ -12,7 +12,7 @@ user_session = dict()
|
|
12 |
class ChatGPTBot(Bot):
|
13 |
def __init__(self):
|
14 |
openai.api_key = conf().get('open_ai_api_key')
|
15 |
-
openai.api_base="https://
|
16 |
|
17 |
def reply(self, query, context=None):
|
18 |
# acquire reply content
|
|
|
12 |
class ChatGPTBot(Bot):
|
13 |
def __init__(self):
|
14 |
openai.api_key = conf().get('open_ai_api_key')
|
15 |
+
openai.api_base="https://apai.zyai.online/v1"
|
16 |
|
17 |
def reply(self, query, context=None):
|
18 |
# acquire reply content
|