ECUiVADE commited on
Commit
058bb0a
1 Parent(s): 56e1315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,10 +160,10 @@ def generate(prompt, history):
160
 
161
  # yield response
162
 
163
- history.append((prompt, response))
164
  context += response
165
  print (context)
166
- yield history
167
 
168
  else:
169
  output = "Did you forget to enter your Details? Please go to the User Info Tab and Input your data. "
 
160
 
161
  # yield response
162
 
163
+ history.append((message,response))
164
  context += response
165
  print (context)
166
+ return history
167
 
168
  else:
169
  output = "Did you forget to enter your Details? Please go to the User Info Tab and Input your data. "