venkat-srinivasan-nexusflow commited on
Commit
12abad4
β€’
1 Parent(s): a8f6a3f

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +3 -0
tools.py CHANGED
@@ -348,4 +348,7 @@ class Tools:
348
 
349
  random.shuffle(all_reviews)
350
 
 
 
 
351
  return all_reviews
 
348
 
349
  random.shuffle(all_reviews)
350
 
351
+ # if the length > 20, limit it
352
+ all_reviews = all_reviews[:20]
353
+
354
  return all_reviews