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

Update app.py

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