Spaces:
Running
Running
Link to guide PDF
Browse files
app.py
CHANGED
@@ -53,6 +53,22 @@ def execute(
|
|
53 |
|
54 |
def build_chat() -> Tuple[LoggedComponents, gr.Blocks]:
|
55 |
with gr.Blocks(theme=gr.themes.Soft(), title="Ask Candid", css=css_chat) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
with gr.Accordion(label="Advanced settings", open=False):
|
57 |
es_indices = gr.CheckboxGroup(
|
58 |
choices=list(ALL_INDICES),
|
|
|
53 |
|
54 |
def build_chat() -> Tuple[LoggedComponents, gr.Blocks]:
|
55 |
with gr.Blocks(theme=gr.themes.Soft(), title="Ask Candid", css=css_chat) as demo:
|
56 |
+
|
57 |
+
gr.Markdown(
|
58 |
+
"""
|
59 |
+
<h1>Ask Candid</h1>
|
60 |
+
|
61 |
+
<p>
|
62 |
+
Please read the <a
|
63 |
+
href='https://info.candid.org/chatbot-reference-guide'
|
64 |
+
target="_blank"
|
65 |
+
rel="noopener noreferrer"
|
66 |
+
>guide</a> to get started.
|
67 |
+
</p>
|
68 |
+
<hr>
|
69 |
+
"""
|
70 |
+
)
|
71 |
+
|
72 |
with gr.Accordion(label="Advanced settings", open=False):
|
73 |
es_indices = gr.CheckboxGroup(
|
74 |
choices=list(ALL_INDICES),
|