Spaces:
Runtime error
Runtime error
oskarastrom
commited on
Commit
·
a35ad72
1
Parent(s):
817fdfc
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def store_message(name: str, message: str):
|
|
51 |
with open(DATA_FILE, "a") as csvfile:
|
52 |
writer = csv.DictWriter(csvfile, fieldnames=["name", "message", "time"])
|
53 |
writer.writerow(
|
54 |
-
|
55 |
)
|
56 |
commit_url = repo.push_to_hub()
|
57 |
print(commit_url)
|
|
|
51 |
with open(DATA_FILE, "a") as csvfile:
|
52 |
writer = csv.DictWriter(csvfile, fieldnames=["name", "message", "time"])
|
53 |
writer.writerow(
|
54 |
+
{'winner': name, 'looser': message, 'time': str(datetime.now())}
|
55 |
)
|
56 |
commit_url = repo.push_to_hub()
|
57 |
print(commit_url)
|