Ankitajadhav commited on
Commit
fddb320
·
verified ·
1 Parent(s): 66a4894

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -25,8 +25,10 @@ class VectorStore:
25
 
26
  # Process in batches
27
  texts = []
28
-
29
  for i, example in enumerate(dataset):
 
 
30
  title = example['title_cleaned']
31
  recipe = example['recipe_new']
32
  meal_type = example['meal_type']
 
25
 
26
  # Process in batches
27
  texts = []
28
+ max_examples = 1500
29
  for i, example in enumerate(dataset):
30
+ if i >= max_examples:
31
+ break
32
  title = example['title_cleaned']
33
  recipe = example['recipe_new']
34
  meal_type = example['meal_type']