PierreBrunelle commited on
Commit
3991214
1 Parent(s): 4e3862c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def process_files(token, pdf_files, chunk_limit, chunk_separator):
87
  )
88
 
89
  # Add computed columns to the table for context retrieval and prompt creation
90
- t['question_context'] = chunks_t.top_k(t.question)
91
  t['prompt'] = create_prompt(
92
  t.question_context, t.question
93
  )
 
87
  )
88
 
89
  # Add computed columns to the table for context retrieval and prompt creation
90
+ t['question_context'] = chunks_t.queries.top_k(t.question)
91
  t['prompt'] = create_prompt(
92
  t.question_context, t.question
93
  )