Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,7 @@ def log_to_hf_dataset(username):
|
|
| 21 |
new_entry = Dataset.from_dict({
|
| 22 |
"username": [username],
|
| 23 |
"timestamp": [timestamp],
|
|
|
|
| 24 |
})
|
| 25 |
updated_dataset = concatenate_datasets([dataset, new_entry])
|
| 26 |
updated_dataset.push_to_hub(DATASET_NAME, token=TOKEN)
|
|
|
|
| 21 |
new_entry = Dataset.from_dict({
|
| 22 |
"username": [username],
|
| 23 |
"timestamp": [timestamp],
|
| 24 |
+
"ip_address": ["egg"],
|
| 25 |
})
|
| 26 |
updated_dataset = concatenate_datasets([dataset, new_entry])
|
| 27 |
updated_dataset.push_to_hub(DATASET_NAME, token=TOKEN)
|