Update app.py
Browse files
app.py
CHANGED
@@ -336,31 +336,6 @@ app.index_string = '''
|
|
336 |
justify-content: flex-start !important;
|
337 |
padding-left: 12px !important;
|
338 |
}
|
339 |
-
|
340 |
-
#model-type-filter .form-check-label {
|
341 |
-
position: relative;
|
342 |
-
padding-left: 5px;
|
343 |
-
}
|
344 |
-
|
345 |
-
#model-type-filter .form-check-label::first-letter {
|
346 |
-
font-weight: bold;
|
347 |
-
}
|
348 |
-
|
349 |
-
#model-type-filter .form-check-label[for*="Is Foundation"]::first-letter {
|
350 |
-
color: #71de5f;
|
351 |
-
}
|
352 |
-
|
353 |
-
#model-type-filter .form-check-label[for*="Is Finetuned"]::first-letter {
|
354 |
-
color: #f6b10b;
|
355 |
-
}
|
356 |
-
|
357 |
-
#model-type-filter .form-check-label[for*="Is Merged"]::first-letter {
|
358 |
-
color: #f08aff;
|
359 |
-
}
|
360 |
-
|
361 |
-
#model-type-filter .form-check-label[for*="proprietary"]::first-letter {
|
362 |
-
color: #19cdce;
|
363 |
-
}
|
364 |
</style>
|
365 |
</head>
|
366 |
<body>
|
@@ -798,15 +773,15 @@ app.layout = html.Div([
|
|
798 |
dcc.Checklist(
|
799 |
id='model-type-filter',
|
800 |
options=[
|
801 |
-
{'label': 'Base', 'value': 'Is Foundation'},
|
802 |
-
{'label': 'Finetune', 'value': 'Is Finetuned'},
|
803 |
-
{'label': 'Merge', 'value': 'Is Merged'},
|
804 |
-
{'label': 'Proprietary', 'value': 'proprietary'}
|
805 |
],
|
806 |
value=['Is Foundation', 'Is Finetuned', 'Is Merged', 'proprietary'],
|
807 |
inline=True,
|
808 |
style={'display': 'inline-block'},
|
809 |
-
labelStyle={'fontWeight': 'normal', 'marginRight': '15px'}
|
810 |
)
|
811 |
], style={'float': 'left'}),
|
812 |
html.Div([
|
|
|
336 |
justify-content: flex-start !important;
|
337 |
padding-left: 12px !important;
|
338 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
</style>
|
340 |
</head>
|
341 |
<body>
|
|
|
773 |
dcc.Checklist(
|
774 |
id='model-type-filter',
|
775 |
options=[
|
776 |
+
{'label': html.Span('Base', style={'color': '#71de5f'}), 'value': 'Is Foundation'},
|
777 |
+
{'label': html.Span('Finetune', style={'color': '#f6b10b'}), 'value': 'Is Finetuned'},
|
778 |
+
{'label': html.Span('Merge', style={'color': '#f08aff'}), 'value': 'Is Merged'},
|
779 |
+
{'label': html.Span('Proprietary', style={'color': '#19cdce'}), 'value': 'proprietary'}
|
780 |
],
|
781 |
value=['Is Foundation', 'Is Finetuned', 'Is Merged', 'proprietary'],
|
782 |
inline=True,
|
783 |
style={'display': 'inline-block'},
|
784 |
+
labelStyle={'fontWeight': 'normal', 'marginRight': '15px'}
|
785 |
)
|
786 |
], style={'float': 'left'}),
|
787 |
html.Div([
|