Spaces:
Runtime error
Runtime error
dev(hansbug): use python3.8
Browse files
llmriddles/llms/chatgpt.py
CHANGED
@@ -14,7 +14,6 @@ def _setup_openai():
|
|
14 |
openai.api_key = os.environ['OPENAI_KEY']
|
15 |
else:
|
16 |
openai.api_key_path = f'{parent_dir}/.key'
|
17 |
-
return openai.api_key_path
|
18 |
|
19 |
|
20 |
def ask_chatgpt(message: str):
|
|
|
14 |
openai.api_key = os.environ['OPENAI_KEY']
|
15 |
else:
|
16 |
openai.api_key_path = f'{parent_dir}/.key'
|
|
|
17 |
|
18 |
|
19 |
def ask_chatgpt(message: str):
|