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