yasserrmd commited on
Commit
76e8733
·
verified ·
1 Parent(s): 11612b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def chat_with_buddy(history, user_message):
23
  messages=messages
24
  )
25
  # Extract the response content
26
- reply = response.choices[0].message
27
 
28
 
29
  # Update chat history with the new user message and assistant response
 
23
  messages=messages
24
  )
25
  # Extract the response content
26
+ reply = response.choices[0].message.content
27
 
28
 
29
  # Update chat history with the new user message and assistant response