lvkaokao
commited on
Commit
•
707efdb
1
Parent(s):
fc4786a
update
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
from apscheduler.schedulers.background import BackgroundScheduler
|
@@ -259,8 +262,8 @@ with demo:
|
|
259 |
interactive=True,
|
260 |
elem_id="filter-columns-precision",
|
261 |
)
|
262 |
-
with gr.
|
263 |
-
gr.HTML("""<p style='padding: 0.
|
264 |
with gr.Row():
|
265 |
filter_columns_computeDtype = gr.Dropdown(choices=[i.value.name for i in ComputeDtype], label="Compute Dtype", multiselect=False, value="float16", interactive=True,)
|
266 |
filter_columns_weightDtype = gr.Dropdown(choices=[i.value.name for i in WeightDtype], label="Weight Dtype", multiselect=False, value="int4", interactive=True,)
|
|
|
1 |
+
import sys
|
2 |
+
sys.system("pip install gradio==3.28.0")
|
3 |
+
|
4 |
import gradio as gr
|
5 |
import pandas as pd
|
6 |
from apscheduler.schedulers.background import BackgroundScheduler
|
|
|
262 |
interactive=True,
|
263 |
elem_id="filter-columns-precision",
|
264 |
)
|
265 |
+
with gr.Box() as config:
|
266 |
+
gr.HTML("""<p style='padding-bottom: 0.5rem; '>Quantization config</p>""")
|
267 |
with gr.Row():
|
268 |
filter_columns_computeDtype = gr.Dropdown(choices=[i.value.name for i in ComputeDtype], label="Compute Dtype", multiselect=False, value="float16", interactive=True,)
|
269 |
filter_columns_weightDtype = gr.Dropdown(choices=[i.value.name for i in WeightDtype], label="Weight Dtype", multiselect=False, value="int4", interactive=True,)
|