Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,6 @@ else:
|
|
40 |
gpu_options = st.multiselect("Select GPU:", options=sorted(df["CPU(s)"].dropna().unique()))
|
41 |
quantization_options = st.multiselect("Quantization:", options=sorted(df["Quantization"].dropna().unique()))
|
42 |
context_length_options = st.multiselect("Context length:", options=sorted(df["Context Length"].dropna().unique()))
|
43 |
-
start_type_options = st.multiselect("Start type:", options=sorted(df["Start Type"].dropna().unique()))
|
44 |
-
power_options = st.multiselect("Max GPU power (W):", options=sorted(df["GPU Max Power (W)"].dropna().unique()))
|
45 |
server_options = st.multiselect("Select server:", options=sorted(df["Server Name"].dropna().unique()))
|
46 |
|
47 |
# Apply filters
|
@@ -49,15 +47,11 @@ else:
|
|
49 |
if model_options:
|
50 |
filtered_df = filtered_df[filtered_df["Model"].isin(model_options)]
|
51 |
if gpu_options:
|
52 |
-
filtered_df = filtered_df[filtered_df["
|
53 |
if quantization_options:
|
54 |
filtered_df = filtered_df[filtered_df["Quantization"].isin(quantization_options)]
|
55 |
if context_length_options:
|
56 |
filtered_df = filtered_df[filtered_df["Context Length"].isin(context_length_options)]
|
57 |
-
if start_type_options:
|
58 |
-
filtered_df = filtered_df[filtered_df["Start Type"].isin(start_type_options)]
|
59 |
-
if power_options:
|
60 |
-
filtered_df = filtered_df[filtered_df["GPU Max Power (W)"].isin(power_options)]
|
61 |
if server_options:
|
62 |
filtered_df = filtered_df[filtered_df["Server Name"].isin(server_options)]
|
63 |
|
|
|
40 |
gpu_options = st.multiselect("Select GPU:", options=sorted(df["CPU(s)"].dropna().unique()))
|
41 |
quantization_options = st.multiselect("Quantization:", options=sorted(df["Quantization"].dropna().unique()))
|
42 |
context_length_options = st.multiselect("Context length:", options=sorted(df["Context Length"].dropna().unique()))
|
|
|
|
|
43 |
server_options = st.multiselect("Select server:", options=sorted(df["Server Name"].dropna().unique()))
|
44 |
|
45 |
# Apply filters
|
|
|
47 |
if model_options:
|
48 |
filtered_df = filtered_df[filtered_df["Model"].isin(model_options)]
|
49 |
if gpu_options:
|
50 |
+
filtered_df = filtered_df[filtered_df["CPU(s)"].isin(gpu_options)]
|
51 |
if quantization_options:
|
52 |
filtered_df = filtered_df[filtered_df["Quantization"].isin(quantization_options)]
|
53 |
if context_length_options:
|
54 |
filtered_df = filtered_df[filtered_df["Context Length"].isin(context_length_options)]
|
|
|
|
|
|
|
|
|
55 |
if server_options:
|
56 |
filtered_df = filtered_df[filtered_df["Server Name"].isin(server_options)]
|
57 |
|