Update ai_hub_summarization.py
Browse files- ai_hub_summarization.py +1 -1
ai_hub_summarization.py
CHANGED
@@ -71,7 +71,7 @@ class AiHubSummarization(datasets.GeneratorBasedBuilder):
|
|
71 |
def _generate_examples(self, data_file: str, split: str):
|
72 |
""" Yields examples. """
|
73 |
with open(data_file, newline='', encoding="UTF-8") as f:
|
74 |
-
json_file = json.load(f
|
75 |
df = pd.DataFrame(json_file)
|
76 |
for idx, row in df.iterrows():
|
77 |
features = {
|
|
|
71 |
def _generate_examples(self, data_file: str, split: str):
|
72 |
""" Yields examples. """
|
73 |
with open(data_file, newline='', encoding="UTF-8") as f:
|
74 |
+
json_file = json.load(f)
|
75 |
df = pd.DataFrame(json_file)
|
76 |
for idx, row in df.iterrows():
|
77 |
features = {
|