Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,8 @@ import json
|
|
| 9 |
from auditqa.sample_questions import QUESTIONS
|
| 10 |
from auditqa.reports import POSSIBLE_REPORTS
|
| 11 |
from auditqa.engine.prompts import audience_prompts
|
| 12 |
-
|
|
|
|
| 13 |
|
| 14 |
async def chat(query,history,audience,sources,reports):
|
| 15 |
"""taking a query and a message history, use a pipeline (reformulation, retriever, answering) to yield a tuple of:
|
|
|
|
| 9 |
from auditqa.sample_questions import QUESTIONS
|
| 10 |
from auditqa.reports import POSSIBLE_REPORTS
|
| 11 |
from auditqa.engine.prompts import audience_prompts
|
| 12 |
+
from auditqa.doc_process import process_pdf
|
| 13 |
+
process_pdf()
|
| 14 |
|
| 15 |
async def chat(query,history,audience,sources,reports):
|
| 16 |
"""taking a query and a message history, use a pipeline (reformulation, retriever, answering) to yield a tuple of:
|