bluenevus commited on
Commit
f62109e
·
verified ·
1 Parent(s): 863cb6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -44,7 +44,6 @@ matrix_types = {
44
  "SWOT Matrix": "Create a matrix analyzing Strengths, Weaknesses, Opportunities, and Threats."
45
  }
46
 
47
- # Layout
48
  app.layout = dbc.Container([
49
  dbc.Row([
50
  dbc.Col([
@@ -80,21 +79,23 @@ app.layout = dbc.Container([
80
  ])
81
  ], width=3),
82
  dbc.Col([
83
- html.Div(id='matrix-preview', className="border p-3 mb-3"),
84
  dcc.Loading(
85
  id="loading-indicator",
86
  type="dot",
87
  children=[html.Div(id="loading-output")]
88
  ),
 
89
  dbc.Button("Download Matrix", id="btn-download", color="success", className="mt-3"),
90
  dcc.Download(id="download-matrix"),
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
  ])
 
44
  "SWOT Matrix": "Create a matrix analyzing Strengths, Weaknesses, Opportunities, and Threats."
45
  }
46
 
 
47
  app.layout = dbc.Container([
48
  dbc.Row([
49
  dbc.Col([
 
79
  ])
80
  ], width=3),
81
  dbc.Col([
 
82
  dcc.Loading(
83
  id="loading-indicator",
84
  type="dot",
85
  children=[html.Div(id="loading-output")]
86
  ),
87
+ html.Div(id='matrix-preview', className="border p-3 mb-3"),
88
  dbc.Button("Download Matrix", id="btn-download", color="success", className="mt-3"),
89
  dcc.Download(id="download-matrix"),
90
  html.Hr(),
 
 
91
  dcc.Loading(
92
  id="chat-loading",
93
  type="dot",
94
+ children=[
95
+ dbc.Input(id="chat-input", type="text", placeholder="Chat with GPT to update matrix...", className="mb-2"),
96
+ dbc.Button("Send", id="btn-send-chat", color="primary", className="mb-3"),
97
+ html.Div(id="chat-output")
98
+ ]
99
  )
100
  ], width=9)
101
  ])