ECUiVADE commited on
Commit
a6bf6ea
1 Parent(s): 09ed43d

Update app.py

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