Updating slider default params, fixing typo in instructions
Browse files- src/app.py +2 -2
src/app.py
CHANGED
@@ -107,7 +107,7 @@ model_list_info = cache_model_list()
|
|
107 |
|
108 |
_, col, _ = st.columns([1,3,1])
|
109 |
with col.expander("Info", expanded=True):
|
110 |
-
st.markdown("""- Model can be selected from the drop-down
|
111 |
- Results are broken down by precision, this can be seen in the graph and the chart below.""")
|
112 |
|
113 |
_, col, _ = st.columns([1,3,1])
|
@@ -158,7 +158,7 @@ gpu_info = gpu_specs[gpu_specs['Vendor'] == gpu_vendor].sort_values('Product Nam
|
|
158 |
|
159 |
min_ram = gpu_info['RAM (GB)'].min()
|
160 |
max_ram = gpu_info['RAM (GB)'].max()
|
161 |
-
ram = st.sidebar.slider("Filter by RAM (GB)", min_ram, max_ram, (
|
162 |
gpu_info = gpu_info[gpu_info["RAM (GB)"].between(ram[0], ram[1])]
|
163 |
if len(gpu_info) == 0:
|
164 |
st.sidebar.error(f"**{gpu_vendor}** has no GPU in that RAM range")
|
|
|
107 |
|
108 |
_, col, _ = st.columns([1,3,1])
|
109 |
with col.expander("Info", expanded=True):
|
110 |
+
st.markdown("""- Model can be selected from the drop-down on the left, press "enter" after selecting to refresh.
|
111 |
- Results are broken down by precision, this can be seen in the graph and the chart below.""")
|
112 |
|
113 |
_, col, _ = st.columns([1,3,1])
|
|
|
158 |
|
159 |
min_ram = gpu_info['RAM (GB)'].min()
|
160 |
max_ram = gpu_info['RAM (GB)'].max()
|
161 |
+
ram = st.sidebar.slider("Filter by RAM (GB)", min_ram, max_ram, (0.0, 96.0), step=0.5)
|
162 |
gpu_info = gpu_info[gpu_info["RAM (GB)"].between(ram[0], ram[1])]
|
163 |
if len(gpu_info) == 0:
|
164 |
st.sidebar.error(f"**{gpu_vendor}** has no GPU in that RAM range")
|