Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -978,25 +978,21 @@ with ui.navset_card_tab(id="tab"):
|
|
978 |
ui.panel_title("Neurips stuff")
|
979 |
|
980 |
with ui.card():
|
981 |
-
|
982 |
"param_type",
|
983 |
"Select Param Type:",
|
984 |
["14", "31", "70", "160"],
|
985 |
multiple=True,
|
986 |
selected=None
|
987 |
)
|
988 |
-
|
989 |
-
with ui.card():
|
990 |
-
model_type = ui.input_selectize(
|
991 |
"model_type",
|
992 |
"Select Model Type:",
|
993 |
["pythia", "denseformer"],
|
994 |
multiple=True,
|
995 |
selected='pythia'
|
996 |
)
|
997 |
-
|
998 |
-
with ui.card():
|
999 |
-
loss_type = ui.input_selectize(
|
1000 |
"loss_type",
|
1001 |
"Select Loss Type:",
|
1002 |
["compliment", "cross_entropy", "headless"],
|
@@ -1013,9 +1009,9 @@ with ui.navset_card_tab(id="tab"):
|
|
1013 |
df = pd.read_csv('results - denseformer.csv')
|
1014 |
|
1015 |
filtered_df = df[
|
1016 |
-
(df["param_type"].isin(param_type()))
|
1017 |
-
& (df["model_type"].isin(model_type()))
|
1018 |
-
& (df["loss_type"].isin(loss_type()))
|
1019 |
]
|
1020 |
|
1021 |
|
|
|
978 |
ui.panel_title("Neurips stuff")
|
979 |
|
980 |
with ui.card():
|
981 |
+
ui.input_selectize(
|
982 |
"param_type",
|
983 |
"Select Param Type:",
|
984 |
["14", "31", "70", "160"],
|
985 |
multiple=True,
|
986 |
selected=None
|
987 |
)
|
988 |
+
ui.input_selectize(
|
|
|
|
|
989 |
"model_type",
|
990 |
"Select Model Type:",
|
991 |
["pythia", "denseformer"],
|
992 |
multiple=True,
|
993 |
selected='pythia'
|
994 |
)
|
995 |
+
ui.input_selectize(
|
|
|
|
|
996 |
"loss_type",
|
997 |
"Select Loss Type:",
|
998 |
["compliment", "cross_entropy", "headless"],
|
|
|
1009 |
df = pd.read_csv('results - denseformer.csv')
|
1010 |
|
1011 |
filtered_df = df[
|
1012 |
+
(df["param_type"].isin(input.param_type()))
|
1013 |
+
& (df["model_type"].isin(input.model_type()))
|
1014 |
+
& (df["loss_type"].isin(input.loss_type()))
|
1015 |
]
|
1016 |
|
1017 |
|