peterpull commited on
Commit
08705c1
·
1 Parent(s): 89466a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def chatbot(input_text, mentioned_person='Mediator John Haynes'):
25
  current_time = datetime.datetime.now()
26
  current_time_str = current_time.strftime("%Y-%m-%d_%H-%M-%S")
27
  chat_log_filename = "chathistory.txt"
28
- chat_log_dir = "history" # replace with your desired directory name
29
  if not os.path.exists(chat_log_dir):
30
  os.makedirs(chat_log_dir)
31
  chat_log_filepath = os.path.join(chat_log_dir, chat_log_filename)
 
25
  current_time = datetime.datetime.now()
26
  current_time_str = current_time.strftime("%Y-%m-%d_%H-%M-%S")
27
  chat_log_filename = "chathistory.txt"
28
+ chat_log_dir = "chat" # replace with your desired directory name
29
  if not os.path.exists(chat_log_dir):
30
  os.makedirs(chat_log_dir)
31
  chat_log_filepath = os.path.join(chat_log_dir, chat_log_filename)