Elfe commited on
Commit
0017701
1 Parent(s): b07b34d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ prompt = '请你扮演《西游记》中的唐三藏,使用唐三藏的语气
15
  def chat(p, qid, uid):
16
  return ["text", callapi(p)]
17
 
18
- openai.api_key = os.getenv("openai_key")
19
  def callapi(p):
20
  response = openai.ChatCompletion.create(
21
  model="gpt-3.5-turbo",
 
15
  def chat(p, qid, uid):
16
  return ["text", callapi(p)]
17
 
18
+ openai.api_key = os.getenv("key")
19
  def callapi(p):
20
  response = openai.ChatCompletion.create(
21
  model="gpt-3.5-turbo",