fix webui

This commit is contained in:
hiyouga
2023-08-12 23:52:07 +08:00
parent 9dc6a296e3
commit d69b1388e6
3 changed files with 3 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ def create_top() -> Dict[str, "Component"]:
with gr.Accordion(label="Advanced config", open=False) as advanced_tab:
with gr.Row():
quantization_bit = gr.Dropdown([8, 4], scale=1)
quantization_bit = gr.Dropdown(["", "8", "4"], scale=1)
template = gr.Dropdown(value="default", choices=list(templates.keys()), scale=1)
source_prefix = gr.Textbox(scale=2)