Spaces:
Runtime error
Runtime error
Commit ·
0ea3ba2
1
Parent(s): c2550b6
Update Database.py
Browse files- Database.py +1 -0
Database.py
CHANGED
|
@@ -66,6 +66,7 @@ def shakwa_common_words():
|
|
| 66 |
else:
|
| 67 |
most_common_words[word] = 1
|
| 68 |
most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
|
|
|
|
| 69 |
db.collection("per_day_common_words").add({str(datetime.today().date()):most_common_words})
|
| 70 |
|
| 71 |
|
|
|
|
| 66 |
else:
|
| 67 |
most_common_words[word] = 1
|
| 68 |
most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
|
| 69 |
+
print(most_common_words)
|
| 70 |
db.collection("per_day_common_words").add({str(datetime.today().date()):most_common_words})
|
| 71 |
|
| 72 |
|