Apply Ruff Docstring reformat (#13278)
* Apply Ruff Docstring reformat Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> * Auto-format by https://ultralytics.com/actions * Update export.py Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> --------- Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com>
This commit is contained in:
12 files changed
+26
-33
No files matched your search
+1
-2
@@ -17,10 +17,9 @@ class TritonRemoteModel:
|
||||
|
||||
def __init__(self, url: str):
|
||||
"""
|
||||
Keyword arguments:
|
||||
Keyword Arguments:
|
||||
url: Fully qualified address of the Triton server - for e.g. grpc://localhost:8000
|
||||
"""
|
||||
|
||||
parsed_url = urlparse(url)
|
||||
if parsed_url.scheme == "grpc":
|
||||
from tritonclient.grpc import InferenceServerClient, InferInput
|
||||
|
||||
Reference in new issue
Block a user