Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -933,7 +933,7 @@ if query:
|
|
933 |
|
934 |
# Load existing comments or create a new dataset
|
935 |
if os.path.exists('comments'):
|
936 |
-
|
937 |
else:
|
938 |
dataset = Dataset.from_dict({'id': [], 'text': []})
|
939 |
|
|
|
933 |
|
934 |
# Load existing comments or create a new dataset
|
935 |
if os.path.exists('comments'):
|
936 |
+
dataset = Dataset.load_from_disk('comments')
|
937 |
else:
|
938 |
dataset = Dataset.from_dict({'id': [], 'text': []})
|
939 |
|