Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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):
|