diff --git a/app_gradio/app.py b/app_gradio/app.py index b56d0f70..1294d69d 100644 --- a/app_gradio/app.py +++ b/app_gradio/app.py @@ -388,7 +388,7 @@ def get_data_column_mapping(): # 修改输出组件部分,使用Tabs with gr.Tabs(): with gr.Tab("Result Summary"): - summary_output = gr.Textbox(label="summary", max_height=800) + summary_output = gr.JSON(label="summary", max_height=800) with gr.Tab("Result Detail"): detail_output = gr.JSON(label="detail", max_height=800) # 使用JSON组件来更好地展示结构化数据