Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,6 +31,7 @@ async def chat(query,history,audience,sources,reports):
|
|
| 31 |
docs_html = ""
|
| 32 |
output_query = ""
|
| 33 |
output_language = "English"
|
|
|
|
| 34 |
|
| 35 |
if audience == "Children":
|
| 36 |
audience_prompt = audience_prompts["children"]
|
|
@@ -244,7 +245,7 @@ with gr.Blocks(title="Audit Q&A", css="style.css", theme=theme,elem_id = "main-c
|
|
| 244 |
interactive=True,
|
| 245 |
)
|
| 246 |
|
| 247 |
-
dropdown_audience = "Experts"
|
| 248 |
#dropdown_audience = gr.Dropdown(
|
| 249 |
# ["Children","General public","Experts"],
|
| 250 |
# label="Select audience",
|
|
|
|
| 31 |
docs_html = ""
|
| 32 |
output_query = ""
|
| 33 |
output_language = "English"
|
| 34 |
+
audience = "Experts"
|
| 35 |
|
| 36 |
if audience == "Children":
|
| 37 |
audience_prompt = audience_prompts["children"]
|
|
|
|
| 245 |
interactive=True,
|
| 246 |
)
|
| 247 |
|
| 248 |
+
#dropdown_audience = "Experts"
|
| 249 |
#dropdown_audience = gr.Dropdown(
|
| 250 |
# ["Children","General public","Experts"],
|
| 251 |
# label="Select audience",
|