ppsingh commited on
Commit
5bc4b81
1 Parent(s): eb583c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,11 +9,11 @@ from auditqa.sample_questions import QUESTIONS
9
  from auditqa.reports import POSSIBLE_REPORTS
10
  from auditqa.engine.prompts import audience_prompts
11
  from auditqa.doc_process import process_markdown, process_pdf
12
- from auditqa.engine.vectorstore import token
13
  # process files
14
  # process_markdown()
15
- process_pdf()
16
- token()
17
 
18
 
19
  async def chat(query,history,audience,sources,reports):
 
9
  from auditqa.reports import POSSIBLE_REPORTS
10
  from auditqa.engine.prompts import audience_prompts
11
  from auditqa.doc_process import process_markdown, process_pdf
12
+ from auditqa.engine.vectorstore import create_vectorstore
13
  # process files
14
  # process_markdown()
15
+ docs = process_pdf()
16
+ create_vectorstore(docs)
17
 
18
 
19
  async def chat(query,history,audience,sources,reports):