diff --git a/giza/client.py b/giza/client.py index 2dbfbee..5cb8a2e 100644 --- a/giza/client.py +++ b/giza/client.py @@ -474,7 +474,7 @@ def create( ), headers=headers, params=deployment_create.dict(), - files={"casm": f} if f is not None else None, + files={"sierra": f} if f is not None else None, ) self._echo_debug(str(response)) diff --git a/giza/frameworks/cairo.py b/giza/frameworks/cairo.py index c73ee22..3185bfd 100644 --- a/giza/frameworks/cairo.py +++ b/giza/frameworks/cairo.py @@ -123,7 +123,7 @@ def deploy( Command to deploy a specific version of a model. This will create a deployment for the specified version and check the status, once it finishes if COMPLETED the deployment is ready to be used. Args: - data: main CASM file + data: main SIERRA file model_id: model id to deploy version_id: version id to deploy size: Size of the service, allowed values are S, M, L and XL. Defaults to S. @@ -149,7 +149,7 @@ def deploy( spinner = Spinner(name="aesthetic", text="Creating deployment!") with Live(renderable=spinner): - with open(data) as casm: + with open(data) as sierra: deployment = client.create( model_id, version_id, @@ -158,7 +158,7 @@ def deploy( model_id=model_id, version_id=version_id, ), - casm, + sierra, ) except ValidationError as e: