caarleexx commited on
Commit
e895ba5
·
verified ·
1 Parent(s): 0bd0bbb

Update api/routes/process.py

Browse files
Files changed (1) hide show
  1. api/routes/process.py +1 -2
api/routes/process.py CHANGED
@@ -37,8 +37,7 @@ async def process_jsonl(
37
 
38
  # Ler arquivo
39
  content = await file.read()
40
- lines = content.decode('utf-8').split('
41
- ')
42
  lines = [l.strip() for l in lines if l.strip()]
43
 
44
  total_records = len(lines)
 
37
 
38
  # Ler arquivo
39
  content = await file.read()
40
+ lines = content.decode('utf-8').split('\n')
 
41
  lines = [l.strip() for l in lines if l.strip()]
42
 
43
  total_records = len(lines)