Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,10 +23,10 @@ def filter_dataframe(hardware, bits):
|
|
23 |
demo = gr.Interface(
|
24 |
fn=filter_dataframe,
|
25 |
inputs=[
|
26 |
-
gr.Dropdown(choices=
|
27 |
-
gr.Dropdown(choices=
|
28 |
],
|
29 |
-
outputs=gr.Dataframe(headers=list(
|
30 |
title="Quantization methods",
|
31 |
description="Pick a quantization method based on your hardware and k-bit quantization."
|
32 |
)
|
|
|
23 |
demo = gr.Interface(
|
24 |
fn=filter_dataframe,
|
25 |
inputs=[
|
26 |
+
gr.Dropdown(choices=quantization['hardware'].unique().tolist(), label="hardware"),
|
27 |
+
gr.Dropdown(choices=quantization['bits'].unique().tolist(), label="bits"),
|
28 |
],
|
29 |
+
outputs=gr.Dataframe(headers=list(quantization.columns)),
|
30 |
title="Quantization methods",
|
31 |
description="Pick a quantization method based on your hardware and k-bit quantization."
|
32 |
)
|