@@ -405,7 +405,7 @@ def get_data_column_mapping():
405405 value = [["content" , "content" ]],
406406 headers = ["Field Key" , "Dataset Column" ],
407407 datatype = ["str" , "str" ],
408- col_count = (2 , "fixed" ),
408+ column_count = (2 , "fixed" ),
409409 row_count = (1 , "dynamic" ),
410410 label = "Field Mappings (add/remove rows as needed)" ,
411411 interactive = True
@@ -417,7 +417,7 @@ def get_data_column_mapping():
417417 # value=[],
418418 # headers=["Rule Name", "threshold", "pattern", "key_list", "refer_path", "parameters"],
419419 # datatype=["str", "number", "str", "str", "str", "str"],
420- # col_count =(6, "fixed"),
420+ # column_count =(6, "fixed"),
421421 # row_count=(0, "dynamic"),
422422 # label="Rule Configurations (auto-generated based on rule_list selection)",
423423 # interactive=True,
@@ -430,7 +430,7 @@ def get_data_column_mapping():
430430 value = [],
431431 headers = ["LLM Name" , "model" , "key" , "api_url" , "parameters" ],
432432 datatype = ["str" , "str" , "str" , "str" , "str" ],
433- col_count = (5 , "fixed" ),
433+ column_count = (5 , "fixed" ),
434434 row_count = (0 , "dynamic" ),
435435 label = "LLM Configurations (auto-generated based on llm_list selection)" ,
436436 interactive = True ,
@@ -496,4 +496,4 @@ def get_data_column_mapping():
496496 )
497497
498498 # Launch interface
499- demo .launch (share = True )
499+ demo .launch (share = False )
0 commit comments