We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43043bf commit 9cf75b4Copy full SHA for 9cf75b4
monai/deploy/core/models/triton_model.py
@@ -11,6 +11,7 @@
11
12
import logging
13
from pathlib import Path
14
+from typing import Tuple
15
16
import tritonclient.http as httpclient
17
from google.protobuf import text_format
@@ -263,7 +264,7 @@ def predictor(self, predictor: TritonRemoteModel):
263
264
self._predictor = predictor
265
266
@classmethod
- def accept(cls, path: str) -> tuple[bool, str]:
267
+ def accept(cls, path: str) -> Tuple[bool, str]:
268
model_folder: Path = Path(path)
269
270
# The path should be a folder path, for an individual model, and must have the config.pbtxt file.
0 commit comments