Yuvalamitay commited on
Commit
abaaeff
·
verified ·
1 Parent(s): aad473b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) != 0):
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