Spaces:
Runtime error

DILSHAD737 commited on
Commit
e7d893a
·
1 Parent(s): 7615ead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ def main():
209
  ) as pool:
210
 
211
  # chunksize=2 distributes work rapidly across both NUMA nodes
212
- for paths, matches in pool.imap_unordered(process_phrase_worker, phrases_to_check, chunksize=5):
213
  phrases_checked += 1
214
  total_paths_checked += paths
215
 
 
209
  ) as pool:
210
 
211
  # chunksize=2 distributes work rapidly across both NUMA nodes
212
+ for paths, matches in pool.imap_unordered(process_phrase_worker, phrases_to_check, chunksize=2):
213
  phrases_checked += 1
214
  total_paths_checked += paths
215