Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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": "
|
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:
|