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

@@ -31,7 +31,8 @@ def create_eval_tab(top_elems: Dict[str, Component], runner: Runner) -> Dict[str
start_btn = gr.Button()
stop_btn = gr.Button()
output_box = gr.Markdown()
with gr.Box():
output_box = gr.Markdown()
start_btn.click(
runner.run_eval,