Futuresony commited on
Commit
eba4833
·
verified ·
1 Parent(s): 71b9355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def save_interaction(user_input, chatbot_response, feedback=None):
49
  "user_input": user_input,
50
  "chatbot_response": chatbot_response,
51
  "feedback": feedback,
52
- "timestamp": "2025-02-25 14:08:31"
53
  }
54
  if os.path.exists(INTERACTIONS_FILE):
55
  with open(INTERACTIONS_FILE, "r") as file:
 
49
  "user_input": user_input,
50
  "chatbot_response": chatbot_response,
51
  "feedback": feedback,
52
+ "timestamp": time.strftime("%Y-%m-%d %H:%M:%S")
53
  }
54
  if os.path.exists(INTERACTIONS_FILE):
55
  with open(INTERACTIONS_FILE, "r") as file: