diff --git a/gradio_ui.py b/gradio_ui.py index 7e7e08c..c870592 100644 --- a/gradio_ui.py +++ b/gradio_ui.py @@ -12,10 +12,7 @@ def run_eval(inputs, native, other, outputs): return result with gr.Blocks(title="EvalScope 全功能界面") as demo: - gr.Markdown("## EvalScope 功能选择平台") - with gr.Group(): - gr.Markdown("### INPUT 输入区") with gr.Row(): input_choices = gr.CheckboxGroup( label="选择输入源", @@ -25,7 +22,6 @@ with gr.Blocks(title="EvalScope 全功能界面") as demo: with gr.Row(): with gr.Column(): with gr.Group(): - gr.Markdown("### NATIVE 本地功能区") native_choices = gr.CheckboxGroup( label="启用本地模块", choices=["Model Adapter", "Data Adapter", "Evaluator", "Perf Monitor"] @@ -33,14 +29,12 @@ with gr.Blocks(title="EvalScope 全功能界面") as demo: with gr.Column(): with gr.Group(): - gr.Markdown("### OTHER 其他功能区") other_choices = gr.CheckboxGroup( label="启用外部后端", choices=["OpenCompass", "VLMEvalKit", "RAGAS", "MTEB/CMTEB"] ) with gr.Group(): - gr.Markdown("### OUTPUT 输出区") with gr.Row(): output_choices = gr.CheckboxGroup( label="输出形式", @@ -54,4 +48,3 @@ with gr.Blocks(title="EvalScope 全功能界面") as demo: if __name__ == '__main__': demo.launch(server_name="0.0.0.0", server_port=7900) - \ No newline at end of file