Skip to content

Commit 9cf75b4

Browse files
committed
No complaint in local dev env, but on GitHub
Signed-off-by: M Q <[email protected]>
1 parent 43043bf commit 9cf75b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

monai/deploy/core/models/triton_model.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import logging
1313
from pathlib import Path
14+
from typing import Tuple
1415

1516
import tritonclient.http as httpclient
1617
from google.protobuf import text_format
@@ -263,7 +264,7 @@ def predictor(self, predictor: TritonRemoteModel):
263264
self._predictor = predictor
264265

265266
@classmethod
266-
def accept(cls, path: str) -> tuple[bool, str]:
267+
def accept(cls, path: str) -> Tuple[bool, str]:
267268
model_folder: Path = Path(path)
268269

269270
# The path should be a folder path, for an individual model, and must have the config.pbtxt file.

0 commit comments

Comments
 (0)