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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def submit_user_info(name,occupation,yearsofexp,ethnicity,gender,age):
221
  return "Enter ALL the details to start chatting"
222
 
223
  def start_chat_button_fn(agree_status):
224
-
225
  if agree_status:
226
  agreed = agree_status
227
  chat_log_name = f'chat_log_for_{unique_id}_{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json'
 
221
  return "Enter ALL the details to start chatting"
222
 
223
  def start_chat_button_fn(agree_status):
224
+ global agreed
225
  if agree_status:
226
  agreed = agree_status
227
  chat_log_name = f'chat_log_for_{unique_id}_{datetime.now().strftime("%Y-%m-%d_%H-%M-%S")}.json'