Spaces:
Sleeping
Sleeping
from dash import html | |
import dash_mantine_components as dmc | |
def create_agent_page(title, children=None): | |
return dmc.Container( | |
[ | |
dmc.Title(title, order=2, mb="lg"), | |
dmc.Paper( | |
shadow="xs", | |
p="md", | |
withBorder=True, | |
children=children or [ | |
dmc.Title("Agent Workflow", order=3), | |
html.Div(id="agent-workflow-output"), | |
# This is where the streaming output will be displayed | |
], | |
), | |
], | |
fluid=True, | |
p="lg", | |
pt="xl" | |
) |