DataEval commited on
Commit
1429a2f
·
verified ·
1 Parent(s): e2ea565

summary框固定大小

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -388,7 +388,7 @@ if __name__ == '__main__':
388
  # 修改输出组件部分,使用Tabs
389
  with gr.Tabs():
390
  with gr.Tab("Result Summary"):
391
- summary_output = gr.Textbox(label="summary", max_lines=50)
392
  with gr.Tab("Result Detail"):
393
  detail_output = gr.JSON(label="detail", max_height=800) # 使用JSON组件来更好地展示结构化数据
394
 
 
388
  # 修改输出组件部分,使用Tabs
389
  with gr.Tabs():
390
  with gr.Tab("Result Summary"):
391
+ summary_output = gr.Textbox(label="summary", lines=20)
392
  with gr.Tab("Result Detail"):
393
  detail_output = gr.JSON(label="detail", max_height=800) # 使用JSON组件来更好地展示结构化数据
394