Update app.py
Browse files
app.py
CHANGED
@@ -179,8 +179,8 @@ def generate(prompt, history):
|
|
179 |
|
180 |
return "", history
|
181 |
else:
|
182 |
-
output
|
183 |
-
return
|
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
|