Elfe commited on
Commit
5073b7b
1 Parent(s): 8a98385
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def callapi(p, msgs):
34
  for m in msgs:
35
  data = data + [
36
  {"role":"user", "content":m[0]},
37
- {"role":"assistent", "content":m[1]}
38
  ]
39
  data = data + [{"role":"user", "content":p}]
40
  response = openai.ChatCompletion.create(
 
34
  for m in msgs:
35
  data = data + [
36
  {"role":"user", "content":m[0]},
37
+ {"role":"assistant", "content":m[1]}
38
  ]
39
  data = data + [{"role":"user", "content":p}]
40
  response = openai.ChatCompletion.create(