Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -569,7 +569,11 @@ with gr.Blocks(theme=gr.themes.Soft(), css=SLEEK_CSS, fill_width=True) as demo:
|
|
| 569 |
with gr.Tabs(elem_classes=["tabs"]):
|
| 570 |
with gr.TabItem("Current Assessment", id=0, elem_classes=["tabitem"]):
|
| 571 |
with gr.Column(elem_id="chatbot_container"):
|
| 572 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 573 |
with gr.TabItem("Assessment History", id=1, elem_classes=["tabitem"]):
|
| 574 |
gr.Markdown("### Review Past Assessments")
|
| 575 |
history_dropdown = gr.Dropdown(label="Select an assessment to review", choices=[])
|
|
|
|
| 569 |
with gr.Tabs(elem_classes=["tabs"]):
|
| 570 |
with gr.TabItem("Current Assessment", id=0, elem_classes=["tabitem"]):
|
| 571 |
with gr.Column(elem_id="chatbot_container"):
|
| 572 |
+
chat_history_output = gr.Chatbot(
|
| 573 |
+
label="Analysis Output",
|
| 574 |
+
type="messages",
|
| 575 |
+
height="100%", # ← This removes the 400px cap and lets it fill the parent
|
| 576 |
+
)
|
| 577 |
with gr.TabItem("Assessment History", id=1, elem_classes=["tabitem"]):
|
| 578 |
gr.Markdown("### Review Past Assessments")
|
| 579 |
history_dropdown = gr.Dropdown(label="Select an assessment to review", choices=[])
|