Skip to content

Commit 0ace311

Browse files
authored
Merge pull request #281 from shijinpjlab/main_1211
feat: fix
2 parents 2eb2fb7 + 2a61c08 commit 0ace311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app_gradio/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def get_data_column_mapping():
388388
# 修改输出组件部分,使用Tabs
389389
with gr.Tabs():
390390
with gr.Tab("Result Summary"):
391-
summary_output = gr.Textbox(label="summary", max_height=800)
391+
summary_output = gr.JSON(label="summary", max_height=800)
392392
with gr.Tab("Result Detail"):
393393
detail_output = gr.JSON(label="detail", max_height=800) # 使用JSON组件来更好地展示结构化数据
394394

0 commit comments

Comments
 (0)