DataEval commited on
Commit
e3d16d8
·
verified ·
1 Parent(s): fac0c90

修改默认值

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -369,7 +369,7 @@ if __name__ == '__main__':
369
  visible=False
370
  )
371
  column_content = gr.Textbox(
372
- value="",
373
  placeholder="Column name of content in the input file. If exists multiple levels, use '.' separate",
374
  label="column_content",
375
  visible=False
@@ -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", lines=20)
392
  with gr.Tab("Result Detail"):
393
  detail_output = gr.JSON(label="detail", max_height=800) # 使用JSON组件来更好地展示结构化数据
394
 
 
369
  visible=False
370
  )
371
  column_content = gr.Textbox(
372
+ value="content",
373
  placeholder="Column name of content in the input file. If exists multiple levels, use '.' separate",
374
  label="column_content",
375
  visible=False
 
388
  # 修改输出组件部分,使用Tabs
389
  with gr.Tabs():
390
  with gr.Tab("Result Summary"):
391
+ summary_output = gr.Textbox(label="summary", max_height=800)
392
  with gr.Tab("Result Detail"):
393
  detail_output = gr.JSON(label="detail", max_height=800) # 使用JSON组件来更好地展示结构化数据
394