thechaiexperiment commited on
Commit
aa0ab0c
·
verified ·
1 Parent(s): 85619b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -344,6 +344,7 @@ def retrieve_document_texts(doc_ids, folder_path='downloaded_articles/downloaded
344
 
345
  def retrieve_rec_texts(document_ids, folder_path, metadata_path):
346
  # Load metadata file to map document IDs to original file names
 
347
  metadata_df = pd.read_excel(metadata_path)
348
  # Ensure column names are as expected
349
  if "id" not in metadata_df.columns or "original_file_name" not in metadata_df.columns:
 
344
 
345
  def retrieve_rec_texts(document_ids, folder_path, metadata_path):
346
  # Load metadata file to map document IDs to original file names
347
+ metadata_path = 'recipes_metadata.xlsx'
348
  metadata_df = pd.read_excel(metadata_path)
349
  # Ensure column names are as expected
350
  if "id" not in metadata_df.columns or "original_file_name" not in metadata_df.columns: