Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import re
|
|
7 |
import json
|
8 |
from auditqa.sample_questions import QUESTIONS
|
9 |
from auditqa.engine.prompts import audience_prompts
|
10 |
-
from auditqa.reports import
|
11 |
from auditqa.doc_process import process_pdf
|
12 |
from langchain_core.messages import (
|
13 |
HumanMessage,
|
@@ -153,7 +153,7 @@ with gr.Blocks(title="Audit Q&A", css= "style.css", theme=theme,elem_id = "main-
|
|
153 |
gr.Markdown("-------------------------------------------------------------------------")
|
154 |
##### Another way to select reports across category and sub-type
|
155 |
dropdown_reports = gr.Dropdown(
|
156 |
-
|
157 |
label="Or select specific reports",
|
158 |
multiselect=True,
|
159 |
value=None,
|
|
|
7 |
import json
|
8 |
from auditqa.sample_questions import QUESTIONS
|
9 |
from auditqa.engine.prompts import audience_prompts
|
10 |
+
from auditqa.reports import files, report_list
|
11 |
from auditqa.doc_process import process_pdf
|
12 |
from langchain_core.messages import (
|
13 |
HumanMessage,
|
|
|
153 |
gr.Markdown("-------------------------------------------------------------------------")
|
154 |
##### Another way to select reports across category and sub-type
|
155 |
dropdown_reports = gr.Dropdown(
|
156 |
+
report_list,
|
157 |
label="Or select specific reports",
|
158 |
multiselect=True,
|
159 |
value=None,
|