Spaces:
Runtime error
Runtime error
Commit
·
b377898
1
Parent(s):
c8ac507
Update Database.py
Browse files- Database.py +1 -0
Database.py
CHANGED
@@ -63,6 +63,7 @@ def shakwa_common_words():
|
|
63 |
else:
|
64 |
most_common_words[word] = 1
|
65 |
most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
|
|
|
66 |
db.collection("per_day_common_words").document(str(datetime.today().date())).set(dict(most_common_words))
|
67 |
|
68 |
|
|
|
63 |
else:
|
64 |
most_common_words[word] = 1
|
65 |
most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
|
66 |
+
print(most_common_words)
|
67 |
db.collection("per_day_common_words").document(str(datetime.today().date())).set(dict(most_common_words))
|
68 |
|
69 |
|