lvkaokao commited on
Commit
707efdb
1 Parent(s): fc4786a
Files changed (1) hide show
  1. app.py +5 -2
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.Group() as config:
263
- gr.HTML("""<p style='padding: 0.7rem; background: #fff; margin: 0; color: #6b7280;'>Quantization config</p>""")
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,)