update UI, fix #212

This commit is contained in:
hiyouga
2023-07-20 22:09:06 +08:00
parent c3fcb67486
commit 4d1641c1bf
12 changed files with 155 additions and 45 deletions

View File

@@ -27,7 +27,7 @@ def create_ui() -> gr.Blocks:
with gr.Tab("Evaluate"):
eval_elems = create_eval_tab(top_elems, runner)
with gr.Tab("Inference"):
with gr.Tab("Chat"):
infer_elems = create_infer_tab(top_elems)
elem_list = [top_elems, sft_elems, eval_elems, infer_elems]