ECUiVADE commited on
Commit
3726d7c
1 Parent(s): e67c000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -197,12 +197,12 @@ def generate(prompt, history):
197
  context += response
198
 
199
  print (context)
200
- return "", chat_history
201
 
202
  else:
203
- output = "Did you forget to enter your Details? Please go to the User Info Tab and Input your data. "
204
  chat_history.append((prompt,output))
205
- return "", chat_history
206
 
207
  def submit_user_info(name,occupation,yearsofexp,ethnicity,gender,age):
208
  global Name, Occupation,Ethnicity,Gender,Age,chat_log_name,YearsOfExp
 
197
  context += response
198
 
199
  print (context)
200
+ return chat_history
201
 
202
  else:
203
+ output = "Did you forget to Agree to the Terms and Conditions?"
204
  chat_history.append((prompt,output))
205
+ return chat_history
206
 
207
  def submit_user_info(name,occupation,yearsofexp,ethnicity,gender,age):
208
  global Name, Occupation,Ethnicity,Gender,Age,chat_log_name,YearsOfExp