diff --git a/bentoml_cli/worker/runner.py b/bentoml_cli/worker/runner.py index 628df6269e..e63780eeca 100644 --- a/bentoml_cli/worker/runner.py +++ b/bentoml_cli/worker/runner.py @@ -110,7 +110,7 @@ def main( # setup context if service.tag is None: - component_context.bento_name = f"{service.__class__}" + component_context.bento_name = f"{service.__class__.__name__}" component_context.bento_version = "not available" else: component_context.bento_name = service.tag.name