Zihao Wang
commited on
Commit
·
15f2583
1
Parent(s):
1097625
update key
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ Try to answer this question/instruction with step-by-step thoughts and make the
|
|
116 |
Use `\n\n` to split the answer into several paragraphs.
|
117 |
Just respond to the instruction directly. DO NOT add additional explanations or introducement in the answer unless you are asked to.
|
118 |
'''
|
119 |
-
openai_client = OpenAI(openai.api_key)
|
120 |
draft = openai_client.chat.completions.create(
|
121 |
model="gpt-3.5-turbo",
|
122 |
messages=[
|
|
|
116 |
Use `\n\n` to split the answer into several paragraphs.
|
117 |
Just respond to the instruction directly. DO NOT add additional explanations or introducement in the answer unless you are asked to.
|
118 |
'''
|
119 |
+
openai_client = OpenAI(api_key=openai.api_key)
|
120 |
draft = openai_client.chat.completions.create(
|
121 |
model="gpt-3.5-turbo",
|
122 |
messages=[
|