Spaces:
Sleeping
Sleeping
Update nylon.py
Browse files
nylon.py
CHANGED
@@ -93,7 +93,7 @@ class ChatDatabase:
|
|
93 |
self.tfidf = None
|
94 |
|
95 |
def load_messages(self):
|
96 |
-
with open(self.filename, '
|
97 |
pass
|
98 |
with open(self.filename, 'r') as f:
|
99 |
for line in f:
|
|
|
93 |
self.tfidf = None
|
94 |
|
95 |
def load_messages(self):
|
96 |
+
with open(self.filename, 'w') as file:
|
97 |
pass
|
98 |
with open(self.filename, 'r') as f:
|
99 |
for line in f:
|