not-lain commited on
Commit
038134e
·
verified ·
1 Parent(s): 4311dd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -175,7 +175,7 @@ def save_dpo_data(
175
  # preparing the submission
176
  data = {"contributor": contributor_username}
177
 
178
- data["timestamp"] = str(datetime.datetime.now(datetime.UTC))
179
  data["chat_format"] = dpo_chat_format
180
  data["prompt"] = history
181
  data["chosen"] = chosen_chat
 
175
  # preparing the submission
176
  data = {"contributor": contributor_username}
177
 
178
+ data["timestamp"] = str(datetime.now(timezone.utc))
179
  data["chat_format"] = dpo_chat_format
180
  data["prompt"] = history
181
  data["chosen"] = chosen_chat