zeusfsx commited on
Commit
3271122
1 Parent(s): 324dec7

Update ukrainian-news.py

Browse files
Files changed (1) hide show
  1. ukrainian-news.py +1 -1
ukrainian-news.py CHANGED
@@ -57,5 +57,5 @@ class UkrainianNews(datasets.GeneratorBasedBuilder):
57
  for path in filepaths:
58
  with open(path, encoding="utf-8") as f:
59
  for news_str in f:
60
- news = json.load(news_str)
61
  yield news['id'], news
 
57
  for path in filepaths:
58
  with open(path, encoding="utf-8") as f:
59
  for news_str in f:
60
+ news = json.loads(news_str)
61
  yield news['id'], news