Spaces:
Sleeping
Sleeping
Refactor intake panel layout by consolidating Markdown content within an Accordion for improved user experience and clarity.
Browse files- ui/chat.py +2 -3
ui/chat.py
CHANGED
|
@@ -148,12 +148,11 @@ def render_intake_panel(
|
|
| 148 |
]
|
| 149 |
|
| 150 |
with intake_stage:
|
| 151 |
-
gr.
|
|
|
|
| 152 |
"Describe your background once. The agent researches official sources, "
|
| 153 |
"compares realistic visa pathways, and marks suitable countries on the globe.",
|
| 154 |
-
elem_classes=["borderless-hero"],
|
| 155 |
)
|
| 156 |
-
with gr.Accordion("Start with a guided profile", open=True):
|
| 157 |
with gr.Row():
|
| 158 |
citizenship = gr.Textbox(
|
| 159 |
label="Citizenship / passports",
|
|
|
|
| 148 |
]
|
| 149 |
|
| 150 |
with intake_stage:
|
| 151 |
+
with gr.Accordion("Start with a guided profile", open=True):
|
| 152 |
+
gr.Markdown(
|
| 153 |
"Describe your background once. The agent researches official sources, "
|
| 154 |
"compares realistic visa pathways, and marks suitable countries on the globe.",
|
|
|
|
| 155 |
)
|
|
|
|
| 156 |
with gr.Row():
|
| 157 |
citizenship = gr.Textbox(
|
| 158 |
label="Citizenship / passports",
|