Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import openai
|
|
3 |
import os
|
4 |
|
5 |
#openai.api_key = os.environ["API_KEY"] # 首先要有apikey
|
6 |
-
openai.api_key = 'p7oCLysH7zFh6tU9X4n2T3BlbkFJ81P8c7cP2qDd7MvGOTpL'
|
7 |
messages = [{"role": "system", "content": "你是一个得力助手"}]
|
8 |
|
9 |
|
|
|
3 |
import os
|
4 |
|
5 |
#openai.api_key = os.environ["API_KEY"] # 首先要有apikey
|
6 |
+
openai.api_key = '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'
|
7 |
messages = [{"role": "system", "content": "你是一个得力助手"}]
|
8 |
|
9 |
|