aasteven commited on
Commit
2432747
·
verified ·
1 Parent(s): 93f9b19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def chat_with_gpt(message, history):
22
  )
23
 
24
 
25
- return response.choices[0].message["content"]
26
 
27
  # Stream the response back to Gradio
28
  full_response = ""
 
22
  )
23
 
24
 
25
+ return response.choices[0].message.content
26
 
27
  # Stream the response back to Gradio
28
  full_response = ""