shivanis14 commited on
Commit
b81be91
1 Parent(s): 5dcb046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -338,9 +338,10 @@ def get_assistant_for_ingredient(ingredient, N=2):
338
  # Ready the files for upload to OpenAI.
339
  file_paths = get_files_with_ingredient_info(ingredient, N)
340
  if file_paths[0] == "Ingredients.docx" and assistant_default_doc:
 
341
  return assistant_default_doc
342
 
343
- print(f"DEBUG : Creating vector store for files {file_paths}")
344
 
345
  file_streams = [open(path, "rb") for path in file_paths]
346
 
 
338
  # Ready the files for upload to OpenAI.
339
  file_paths = get_files_with_ingredient_info(ingredient, N)
340
  if file_paths[0] == "Ingredients.docx" and assistant_default_doc:
341
+ print(f"Using Ingredients.docx for analyzing ingredient {ingredient}")
342
  return assistant_default_doc
343
 
344
+ print(f"DEBUG : Creating vector store for files {file_paths} to analyze ingredient {ingredient}")
345
 
346
  file_streams = [open(path, "rb") for path in file_paths]
347