tommy24 commited on
Commit
d1c62f7
·
1 Parent(s): ca8bbab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def function(Textbox,Textbox2,Textbox3):
59
  if Textbox2:
60
  Textbox2 = list(Textbox2)
61
  chat = openai.ChatCompletion.create(
62
- model="gpt-3.5-turbo", messages=list(Textbox2)
63
  )
64
  reply = chat.choices[0].message.content
65
  messages.append({"role": "assistant", "content": reply})
 
59
  if Textbox2:
60
  Textbox2 = list(Textbox2)
61
  chat = openai.ChatCompletion.create(
62
+ model="gpt-3.5-turbo", messages=Textbox2
63
  )
64
  reply = chat.choices[0].message.content
65
  messages.append({"role": "assistant", "content": reply})