Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -153,7 +153,6 @@ def function(Textbox,Textbox2,Textbox3):
|
|
153 |
chat = openai.ChatCompletion.create(
|
154 |
model="gpt-3.5-turbo", messages=messages
|
155 |
)
|
156 |
-
print(messages)
|
157 |
reply = chat.choices[0].message.content
|
158 |
messages.append({"role": "assistant", "content": reply})
|
159 |
return reply
|
|
|
153 |
chat = openai.ChatCompletion.create(
|
154 |
model="gpt-3.5-turbo", messages=messages
|
155 |
)
|
|
|
156 |
reply = chat.choices[0].message.content
|
157 |
messages.append({"role": "assistant", "content": reply})
|
158 |
return reply
|