Spaces:
Runtime error
Runtime error
Pavankalyan
commited on
Commit
•
8e74a0f
1
Parent(s):
10688f7
Update load_data.py
Browse files- load_data.py +1 -1
load_data.py
CHANGED
@@ -23,7 +23,7 @@ def merge_text(text_list):
|
|
23 |
i = 0;j = 1
|
24 |
k = len(text_list)
|
25 |
while j < k:
|
26 |
-
if len(text_list[i].split()) <=
|
27 |
text_list[j] = text_list[i] + " " + text_list[j]
|
28 |
text_list[i] = " "
|
29 |
i += 1;j += 1
|
|
|
23 |
i = 0;j = 1
|
24 |
k = len(text_list)
|
25 |
while j < k:
|
26 |
+
if len(text_list[i].split()) <= 5:
|
27 |
text_list[j] = text_list[i] + " " + text_list[j]
|
28 |
text_list[i] = " "
|
29 |
i += 1;j += 1
|