Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
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})
|