Spaces:
Running
Running
File size: 653 Bytes
7da22ca |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
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"
) |