Spaces:
Runtime error
Runtime error
Update api/routes/process.py
Browse files- 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)
|