Huzaifa424 commited on
Commit
c979465
·
verified ·
1 Parent(s): da20df8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ def process_pdf(pdf_path):
33
  return "PDF successfully processed and indexed."
34
 
35
  # RAG Query Function
36
- def query_rag(message, temperature, max_new_tokens, top_k, repetition_penalty, top_p, system_prompt):
 
37
  if vector_store is None:
38
  return "Please upload and process a PDF first."
39
 
 
33
  return "PDF successfully processed and indexed."
34
 
35
  # RAG Query Function
36
+ def query_rag(message, temperature, max_new_tokens, top_k, repetition_penalty, top_p, system_prompt, history=None):
37
+
38
  if vector_store is None:
39
  return "Please upload and process a PDF first."
40