Skip to content

Commit 66d7160

Browse files
committed
Remove TFPreTrainedModel reference
1 parent 01da1b2 commit 66d7160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transformers/onnx/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def get_model_from_features(features: str, model: str):
7474

7575

7676
def check_supported_model_or_raise(
77-
model: Union[PreTrainedModel, TFPreTrainedModel], features: str = "default"
77+
model: PreTrainedModel, features: str = "default"
7878
) -> Tuple[str, Callable]:
7979
"""
8080
Check whether or not the model has the requested features

0 commit comments

Comments
 (0)