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