Skip to content

Commit

Permalink
fix type for weight_file
Browse files Browse the repository at this point in the history
  • Loading branch information
saltykox committed Mar 22, 2022
1 parent 4f55cae commit 4129bc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __init__(
hparams: OTEDetectionConfig,
label_schema: LabelSchemaEntity,
model_file: Union[str, bytes],
weight_file: Optional[str, bytes] = None,
weight_file: Union[str, bytes, None] = None,
device: str = "CPU",
num_requests: int = 1,
):
Expand Down

0 comments on commit 4129bc4

Please sign in to comment.