stzhao commited on
Commit
6f22201
·
verified ·
1 Parent(s): 7282a5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def load_jsonl(file):
6
  """读取上传的jsonl文件并解析为字典列表"""
7
  data = []
8
  for line in file:
9
- data.append(json.loads(line.decode('utf-8')))
10
  return data
11
 
12
  def random_data_viewer(file):
 
6
  """读取上传的jsonl文件并解析为字典列表"""
7
  data = []
8
  for line in file:
9
+ data.append(json.loads(line))
10
  return data
11
 
12
  def random_data_viewer(file):