eli02 commited on
Commit
7eb3af3
·
verified ·
1 Parent(s): 923ee7a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -323,7 +323,7 @@ async def save_data(
323
  data["retrieved_text"].append(item.retrieved_text)
324
  data["model_type"].append(item.model_type)
325
  data["reaction"].append(item.reaction)
326
- data["timestamp"].append(timestamp or datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z'))
327
 
328
  try:
329
  # Load existing dataset and merge
 
323
  data["retrieved_text"].append(item.retrieved_text)
324
  data["model_type"].append(item.model_type)
325
  data["reaction"].append(item.reaction)
326
+ data["timestamp"].append(datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z'))
327
 
328
  try:
329
  # Load existing dataset and merge