ECUiVADE commited on
Commit
afd9646
1 Parent(s): 3fe9239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -179,8 +179,8 @@ def generate(prompt, history):
179
 
180
  return "", history
181
  else:
182
- output = "Did you forget to enter your Details? Please go to the User Info Tab and Input your data."
183
- return output, history
184
 
185
  def submit_user_info(name,occupation,yearsofexp,ethnicity,gender,age):
186
  global Name, Occupation,Ethnicity,Gender,Age,chat_log_name,YearsOfExp
 
179
 
180
  return "", history
181
  else:
182
+ history.append((prompt, output))
183
+ return "", history
184
 
185
  def submit_user_info(name,occupation,yearsofexp,ethnicity,gender,age):
186
  global Name, Occupation,Ethnicity,Gender,Age,chat_log_name,YearsOfExp