Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
|
|
|
|
|
4 |
def filter_by_hardware_or_bits(df, hardware=None, bits=None):
|
5 |
if hardware is None and bits is None:
|
6 |
raise ValueError("At least one of 'hardware' or 'bits' must be specified.")
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
|
4 |
+
df = pd.read_csv('https://huggingface.co/datasets/stevhliu/quantization/blob/main/quantization.csv')
|
5 |
+
|
6 |
def filter_by_hardware_or_bits(df, hardware=None, bits=None):
|
7 |
if hardware is None and bits is None:
|
8 |
raise ValueError("At least one of 'hardware' or 'bits' must be specified.")
|