Spaces:
Running
Running
vlff李飞飞
commited on
Commit
·
7b2782a
1
Parent(s):
5779080
更新oai
Browse files
qwen_server/database_server.py
CHANGED
@@ -84,7 +84,7 @@ async def cache_data(file_name: str):
|
|
84 |
cache_file = os.path.join(server_config.path.cache_root, file_name)
|
85 |
lines = []
|
86 |
for line in jsonlines.open(cache_file):
|
87 |
-
lines.
|
88 |
return JSONResponse(lines)
|
89 |
|
90 |
|
|
|
84 |
cache_file = os.path.join(server_config.path.cache_root, file_name)
|
85 |
lines = []
|
86 |
for line in jsonlines.open(cache_file):
|
87 |
+
lines.append(line)
|
88 |
return JSONResponse(lines)
|
89 |
|
90 |
|