MekkCyber commited on
Commit
d426c32
·
1 Parent(s): 1fdbd50
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -149,8 +149,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
149
  placeholder="Search for model id on Huggingface",
150
  search_type="model",
151
  )
152
-
153
- with gr.Row():
154
  quantization_type = gr.Dropdown(
155
  label="Quantization Type",
156
  choices=["int4_weight_only", "int8_weight_only", "int8_dynamic_activation_int8_weight"],
@@ -161,16 +160,16 @@ with gr.Blocks(theme=gr.themes.Soft()) as app:
161
  value=128,
162
  interactive=True
163
  )
164
- # device = gr.Dropdown(
165
- # label="Device (int4 only works with cuda)",
166
- # choices=["cuda", "cpu"],
167
- # value="cuda"
168
- # )
169
  quantized_model_name = gr.Textbox(
170
  label="Model Name (optional : to override default)",
171
  value="",
172
  interactive=True
173
  )
 
 
 
 
 
174
  # with gr.Row():
175
  # username = gr.Textbox(
176
  # label="Hugging Face Username",
 
149
  placeholder="Search for model id on Huggingface",
150
  search_type="model",
151
  )
152
+ with gr.Column():
 
153
  quantization_type = gr.Dropdown(
154
  label="Quantization Type",
155
  choices=["int4_weight_only", "int8_weight_only", "int8_dynamic_activation_int8_weight"],
 
160
  value=128,
161
  interactive=True
162
  )
 
 
 
 
 
163
  quantized_model_name = gr.Textbox(
164
  label="Model Name (optional : to override default)",
165
  value="",
166
  interactive=True
167
  )
168
+ # device = gr.Dropdown(
169
+ # label="Device (int4 only works with cuda)",
170
+ # choices=["cuda", "cpu"],
171
+ # value="cuda"
172
+ # )
173
  # with gr.Row():
174
  # username = gr.Textbox(
175
  # label="Hugging Face Username",