set key for database config to 0
Browse files- phantom-wiki-v050.py +1 -0
phantom-wiki-v050.py
CHANGED
@@ -173,6 +173,7 @@ class PhantomWiki(datasets.GeneratorBasedBuilder):
|
|
173 |
with open(filepath, encoding="utf-8") as f:
|
174 |
data = f.read()
|
175 |
# NOTE: Our schema expects a dictionary with a single key "content"
|
|
|
176 |
yield key, {
|
177 |
"content": data,
|
178 |
}
|
|
|
173 |
with open(filepath, encoding="utf-8") as f:
|
174 |
data = f.read()
|
175 |
# NOTE: Our schema expects a dictionary with a single key "content"
|
176 |
+
key = 0
|
177 |
yield key, {
|
178 |
"content": data,
|
179 |
}
|