JeffJing commited on
Commit
e5bb48e
·
1 Parent(s): 9ecbadd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -20,9 +20,8 @@ chatbot1 = Chatbot(config={
20
  })
21
 
22
  def openai_create(prompt):
23
- response = ""
24
  for data in chatbot1.ask(prompt):
25
- response += data["message"] + "<br>"
26
  return response
27
 
28
 
 
20
  })
21
 
22
  def openai_create(prompt):
 
23
  for data in chatbot1.ask(prompt):
24
+ response = data["message"]
25
  return response
26
 
27