Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ matrix_type = None
|
|
25 |
|
26 |
# Matrix types and their descriptions
|
27 |
matrix_types = {
|
|
|
28 |
"Communications Plan Matrix": "Create a matrix showing stakeholders, communication methods, frequency, and responsibilities.",
|
29 |
"Project Kick-off Matrix": "Generate a matrix outlining key project details, goals, team roles, and initial timelines.",
|
30 |
"Decision Matrix": "Develop a matrix for evaluating options against criteria, with weighted scores analysis of alternatives style.",
|
@@ -90,7 +91,11 @@ app.layout = dbc.Container([
|
|
90 |
html.Hr(),
|
91 |
dbc.Input(id="chat-input", type="text", placeholder="Chat with GPT to update matrix...", className="mb-2"),
|
92 |
dbc.Button("Send", id="btn-send-chat", color="primary", className="mb-3"),
|
93 |
-
|
|
|
|
|
|
|
|
|
94 |
], width=9)
|
95 |
])
|
96 |
], fluid=True)
|
|
|
25 |
|
26 |
# Matrix types and their descriptions
|
27 |
matrix_types = {
|
28 |
+
"Project Management Plan": "Generate a comprehensive project management matrix outlining all aspects of project management, including scope, schedule, budget, quality, resources, communications, risk, procurement, and stakeholder management."
|
29 |
"Communications Plan Matrix": "Create a matrix showing stakeholders, communication methods, frequency, and responsibilities.",
|
30 |
"Project Kick-off Matrix": "Generate a matrix outlining key project details, goals, team roles, and initial timelines.",
|
31 |
"Decision Matrix": "Develop a matrix for evaluating options against criteria, with weighted scores analysis of alternatives style.",
|
|
|
91 |
html.Hr(),
|
92 |
dbc.Input(id="chat-input", type="text", placeholder="Chat with GPT to update matrix...", className="mb-2"),
|
93 |
dbc.Button("Send", id="btn-send-chat", color="primary", className="mb-3"),
|
94 |
+
dcc.Loading(
|
95 |
+
id="chat-loading",
|
96 |
+
type="dot",
|
97 |
+
children=[html.Div(id="chat-output")]
|
98 |
+
)
|
99 |
], width=9)
|
100 |
])
|
101 |
], fluid=True)
|