MekkCyber commited on
Commit
40a26a8
·
1 Parent(s): f08c0c5
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -213,7 +213,7 @@ with gr.Blocks(theme=gr.themes.Ocean(), css=css) as demo:
213
  value=6,
214
  interactive=True,
215
  show_label=False,
216
- visible=False
217
  )
218
  quant_type_4 = gr.Dropdown(
219
  info="The quantization data type in the bnb.nn.Linear4Bit layers",
@@ -222,7 +222,7 @@ with gr.Blocks(theme=gr.themes.Ocean(), css=css) as demo:
222
  visible=False,
223
  show_label=False
224
  )
225
- radio_4 = gr.Radio(["False", "True"], label="Use Double Quant", visible=False, value="False", elem_classes="custom_radio")
226
 
227
  def update_visibility(quantization_type):
228
  return gr.update(visible=(quantization_type=="int8")), gr.update(visible=(quantization_type=="int4")), gr.update(visible=(quantization_type=="int4"))
 
213
  value=6,
214
  interactive=True,
215
  show_label=False,
216
+ visible=True
217
  )
218
  quant_type_4 = gr.Dropdown(
219
  info="The quantization data type in the bnb.nn.Linear4Bit layers",
 
222
  visible=False,
223
  show_label=False
224
  )
225
+ radio_4 = gr.Radio(["False", "True"], info="Use Double Quant", visible=False, value="False", elem_classes="custom_radio")
226
 
227
  def update_visibility(quantization_type):
228
  return gr.update(visible=(quantization_type=="int8")), gr.update(visible=(quantization_type=="int4")), gr.update(visible=(quantization_type=="int4"))