Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def preprocess_text(text):
|
|
32 |
# Write your for-in loop below to clean each chunk and add it to the cleaned_chunks list
|
33 |
for chunk in chunks:
|
34 |
clean_chunk = chunk.strip()
|
35 |
-
if(len(clean_chunk)
|
36 |
cleaned_chunks.append(clean_chunk)
|
37 |
|
38 |
# Print cleaned_chunks
|
|
|
32 |
# Write your for-in loop below to clean each chunk and add it to the cleaned_chunks list
|
33 |
for chunk in chunks:
|
34 |
clean_chunk = chunk.strip()
|
35 |
+
if(len(clean_chunk) >= 0):
|
36 |
cleaned_chunks.append(clean_chunk)
|
37 |
|
38 |
# Print cleaned_chunks
|