update webui
This commit is contained in:
parent
71d3e60713
commit
30f8149d11
|
@ -104,7 +104,7 @@ def save_model(
|
||||||
|
|
||||||
def create_export_tab(engine: "Engine") -> Dict[str, "Component"]:
|
def create_export_tab(engine: "Engine") -> Dict[str, "Component"]:
|
||||||
with gr.Row():
|
with gr.Row():
|
||||||
export_size = gr.Slider(minimum=1, maximum=100, value=1, step=1)
|
export_size = gr.Slider(minimum=1, maximum=100, value=5, step=1)
|
||||||
export_quantization_bit = gr.Dropdown(choices=["none"] + GPTQ_BITS, value="none")
|
export_quantization_bit = gr.Dropdown(choices=["none"] + GPTQ_BITS, value="none")
|
||||||
export_quantization_dataset = gr.Textbox(value="data/c4_demo.json")
|
export_quantization_dataset = gr.Textbox(value="data/c4_demo.json")
|
||||||
export_device = gr.Radio(choices=["cpu", "auto"], value="cpu")
|
export_device = gr.Radio(choices=["cpu", "auto"], value="cpu")
|
||||||
|
|
Loading…
Reference in New Issue