Spaces:
Runtime error
Runtime error
Commit ·
a135cd2
1
Parent(s): 1a66582
Update Database.py
Browse files- Database.py +1 -1
Database.py
CHANGED
|
@@ -62,7 +62,7 @@ def shakwa_common_words():
|
|
| 62 |
else:
|
| 63 |
most_common_words[word] = 1
|
| 64 |
most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
|
| 65 |
-
db.collection("per_day_common_words").
|
| 66 |
|
| 67 |
|
| 68 |
def feedback_common_words():
|
|
|
|
| 62 |
else:
|
| 63 |
most_common_words[word] = 1
|
| 64 |
most_common_words = sorted(most_common_words.items(), key=lambda x: x[1])
|
| 65 |
+
db.collection("per_day_common_words").documnt(str(datetime.today().date())).add(dict(most_common_words))
|
| 66 |
|
| 67 |
|
| 68 |
def feedback_common_words():
|