Vokturz
commited on
Commit
•
79399de
1
Parent(s):
9f995dd
hide year filter
Browse files- requirements.txt +1 -2
- src/app.py +3 -3
requirements.txt
CHANGED
@@ -2,5 +2,4 @@ accelerate @ git+https://github.com/huggingface/accelerate
|
|
2 |
transformers @ git+https://github.com/huggingface/transformers
|
3 |
huggingface_hub
|
4 |
pandas
|
5 |
-
plotly
|
6 |
-
streamlit==1.27.0
|
|
|
2 |
transformers @ git+https://github.com/huggingface/transformers
|
3 |
huggingface_hub
|
4 |
pandas
|
5 |
+
plotly
|
|
src/app.py
CHANGED
@@ -51,10 +51,10 @@ if model_name not in st.session_state:
|
|
51 |
|
52 |
|
53 |
gpu_vendor = st.sidebar.selectbox("GPU Vendor", ["NVIDIA", "AMD", "Intel"])
|
54 |
-
year = st.sidebar.selectbox("Filter by Release Year", list(range(2014, 2024))[::-1], index=None)
|
55 |
gpu_info = gpu_specs[gpu_specs['Vendor'] == gpu_vendor].sort_values('RAM (GB)', ascending=False)
|
56 |
-
if year:
|
57 |
-
|
58 |
|
59 |
min_ram = gpu_info['RAM (GB)'].min()
|
60 |
max_ram = gpu_info['RAM (GB)'].max()
|
|
|
51 |
|
52 |
|
53 |
gpu_vendor = st.sidebar.selectbox("GPU Vendor", ["NVIDIA", "AMD", "Intel"])
|
54 |
+
# year = st.sidebar.selectbox("Filter by Release Year", list(range(2014, 2024))[::-1], index=None)
|
55 |
gpu_info = gpu_specs[gpu_specs['Vendor'] == gpu_vendor].sort_values('RAM (GB)', ascending=False)
|
56 |
+
# if year:
|
57 |
+
# gpu_info = gpu_info[gpu_info['Year'] == year]
|
58 |
|
59 |
min_ram = gpu_info['RAM (GB)'].min()
|
60 |
max_ram = gpu_info['RAM (GB)'].max()
|