Update ruff to 0.11.2 (#36962)
* update * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -247,7 +247,7 @@ def update_pipeline_and_auto_class_table(table: Dict[str, Tuple[str, str]]) -> D
|
||||
model_names.extend(list(name))
|
||||
|
||||
# Add pipeline tag and auto model class for those models
|
||||
table.update({model_name: (pipeline_tag, cls) for model_name in model_names})
|
||||
table.update(dict.fromkeys(model_names, (pipeline_tag, cls)))
|
||||
|
||||
return table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user