Update app.py
Browse files
app.py
CHANGED
@@ -197,12 +197,12 @@ def generate(prompt, history):
|
|
197 |
context += response
|
198 |
|
199 |
print (context)
|
200 |
-
return
|
201 |
|
202 |
else:
|
203 |
-
output = "Did you forget to
|
204 |
chat_history.append((prompt,output))
|
205 |
-
return
|
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
|