File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ def get_data_column_mapping():
369369 visible = False
370370 )
371371 column_content = gr .Textbox (
372- value = "" ,
372+ value = "content " ,
373373 placeholder = "Column name of content in the input file. If exists multiple levels, use '.' separate" ,
374374 label = "column_content" ,
375375 visible = False
@@ -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_lines = 50 )
391+ summary_output = gr .Textbox (label = "summary" , max_height = 800 )
392392 with gr .Tab ("Result Detail" ):
393393 detail_output = gr .JSON (label = "detail" , max_height = 800 ) # 使用JSON组件来更好地展示结构化数据
394394
@@ -438,4 +438,4 @@ def get_data_column_mapping():
438438 )
439439
440440 # 启动界面
441- demo .launch (server_port = 7861 , share = True )
441+ demo .launch (share = True )
You can’t perform that action at this time.
0 commit comments