Update convert_and_upload.py
Browse files- convert_and_upload.py +1 -1
convert_and_upload.py
CHANGED
@@ -22,7 +22,7 @@ def flatten_examples(example: dict) -> dict:
|
|
22 |
# certain columns contain extraneous content
|
23 |
if key == "원어·어종":
|
24 |
single_column = single_column.removeprefix("안 밝힘 ")
|
25 |
-
text_line += key + ": " + single_column + ", "
|
26 |
return {"text": text_line.removesuffix(", ")}
|
27 |
|
28 |
|
|
|
22 |
# certain columns contain extraneous content
|
23 |
if key == "원어·어종":
|
24 |
single_column = single_column.removeprefix("안 밝힘 ")
|
25 |
+
text_line += key + ": " + single_column.strip() + ", "
|
26 |
return {"text": text_line.removesuffix(", ")}
|
27 |
|
28 |
|