Skip to content

Commit 22a2cee

Browse files
committed
Apply ruff formatting to modeling_timm_wrapper.py
1 parent 194746b commit 22a2cee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/transformers/models/timm_wrapper/modeling_timm_wrapper.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ def __init__(self, config: TimmWrapperConfig):
119119
extra_init_kwargs = config.model_args or {}
120120
try:
121121
self.timm_model = timm.create_model(
122-
config.architecture, pretrained=False, num_classes=0, **extra_init_kwargs
123-
)
122+
config.architecture, pretrained=False, num_classes=0, **extra_init_kwargs
123+
)
124124
except RuntimeError as e:
125125
raise ImportError(
126126
f"You are trying to instantiate `{config.architecture}`, but it's not supported in timm={timm.__version__}. "

0 commit comments

Comments
 (0)