Update app.py
Browse files65 unmodified lines66676869707172737475767778798081828384853 unmodified lines899091929394954 unmodified lines10010110210310410510665 unmodified lines},multiple=True),html.Div(id='file-list'),html.Hr(),html.Div([dbc.Button(matrix_type,id=f'btn-{matrix_type.lower().replace(" ", "-")}',color="primary",className="mb-2 w-100",style={'overflow': 'hidden', 'text-overflow': 'ellipsis', 'white-space': 'nowrap'}) for matrix_type in matrix_types.keys()])], width=3),dbc.Col([html.Div(style={"height": "20px"}), # Added small gapdcc.Loading(id="loading-indicator",type="dot",3 unmodified linesdbc.Button("Download Matrix", id="btn-download", color="success", className="mt-3"),dcc.Download(id="download-matrix"),html.Hr(),html.Div(style={"height": "20px"}), # Added small gapdcc.Loading(id="chat-loading",type="dot",4 unmodified lines])], width=9)])], fluid=True)def parse_file_content(contents, filename):65 unmodified lines666768697071727374757677787980818283848586878889909192933 unmodified lines9798991001011021034 unmodified lines10810911011111211311411511611765 unmodified lines},multiple=True),html.Div([html.H5("Uploaded Files"),dbc.ListGroup(id='file-list')], className="mt-3"),html.Hr(),html.Div([dbc.Button(matrix_type,id={'type': 'matrix-button', 'index': matrix_type},color="link",className="mb-2 w-100 text-left",style={'textAlign': 'left','textDecoration': 'none','padding': '0.375rem 0.75rem','transition': 'background-color 0.3s'}) for matrix_type in matrix_types.keys()], className="left-buttons-container")], width=3),dbc.Col([html.Div(style={"height": "20px"}), # Small gapdcc.Loading(id="loading-indicator",type="dot",3 unmodified linesdbc.Button("Download Matrix", id="btn-download", color="success", className="mt-3"),dcc.Download(id="download-matrix"),html.Hr(),html.Div(style={"height": "20px"}), # Small gapdcc.Loading(id="chat-loading",type="dot",4 unmodified lines])], width=9)]),html.Div(id='uploaded-files-state', style={'display': 'none'}),dcc.Store(id='matrix-type-store'),html.Div(id='matrix-button-clicks', style={'display': 'none'})], fluid=True)def parse_file_content(contents, filename):
app.py+20-9