Skip to content

Commit 28b35cd

Browse files
authored
Update how-to-deploy-and-where.md
1 parent 8d91da9 commit 28b35cd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/machine-learning/how-to-deploy-and-where.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ The following code shows how to connect to an Azure Machine Learning workspace b
5353

5454
When using the CLI, use the `-w` or `--workspace-name` parameter to specify the workspace for the command.
5555

56-
+ **Using VS Code**
56+
+ **Using Visual Studio Code**
5757

58-
When you use VS Code, you select the workspace by using a graphical interface. For more information, see [Deploy and manage models](tutorial-train-deploy-image-classification-model-vscode.md#deploy-the-model) in the VS Code extension documentation.
58+
When you use Visual Studio Code, you select the workspace by using a graphical interface. For more information, see [Deploy and manage models](tutorial-train-deploy-image-classification-model-vscode.md#deploy-the-model) in the Visual Studio Code extension documentation.
5959

6060
## <a id="registermodel"></a> Register your model
6161

@@ -114,9 +114,9 @@ The code snippets in this section demonstrate how to register a model from a tra
114114

115115
The `--asset-path` parameter refers to the cloud location of the model. In this example, the path of a single file is used. To include multiple files in the model registration, set `--asset-path` to the path of a folder that contains the files.
116116

117-
+ **Using VS Code**
117+
+ **Using Visual Studio Code**
118118

119-
Register models using any model files or folders by using the [VS Code](tutorial-train-deploy-image-classification-model-vscode.md#deploy-the-model) extension.
119+
Register models using any model files or folders by using the [Visual Studio Code](tutorial-train-deploy-image-classification-model-vscode.md#deploy-the-model) extension.
120120

121121
### Register a model from a local file
122122

@@ -171,7 +171,7 @@ For an E2E example which shows how to use multiple models behind a single contai
171171

172172
To deploy the model as a service, you need the following components:
173173

174-
* **Define inference environment**. This environment encapsulates the dependencies required to run your model for inference
174+
* **Define inference environment**. This environment encapsulates the dependencies required to run your model for inference.
175175
* **Define scoring code**. This script accepts requests, scores the requests by using the model, and returns the results.
176176
* **Define inference configuration**. The inference configuration specifies the the environment configuration, entry script, and other components needed to run the model as a service.
177177

@@ -936,7 +936,7 @@ After you download the model, use the `docker images` command to list the local
936936
937937
```text
938938
REPOSITORY TAG IMAGE ID CREATED SIZE
939-
myworkspacef78fd10.azurecr.io/package 20190822181338 7ff48015d5bd 4 minutes ago 1.43GB
939+
myworkspacef78fd10.azurecr.io/package 20190822181338 7ff48015d5bd 4 minutes ago 1.43 GB
940940
```
941941
942942
To start a local container based on this image, use the following command to start a named container from the shell or command line. Replace the `<imageid>` value with the image ID returned by the `docker images` command.
@@ -983,8 +983,8 @@ To verify that the image is built, use the `docker images` command. You should s
983983

984984
```text
985985
REPOSITORY TAG IMAGE ID CREATED SIZE
986-
<none> <none> 2d5ee0bf3b3b 49 seconds ago 1.43GB
987-
myimage latest 739f22498d64 3 minutes ago 1.43GB
986+
<none> <none> 2d5ee0bf3b3b 49 seconds ago 1.43 GB
987+
myimage latest 739f22498d64 3 minutes ago 1.43 GB
988988
```
989989

990990
To start a new container based on this image, use the following command:
@@ -1093,7 +1093,7 @@ def run(request):
10931093

10941094
### Cross-origin resource sharing (CORS)
10951095

1096-
Cross-origin resource sharing is a way to allow resources on a web page to be requested from another domain. CORS works via HTTP headers sent with the client request and returned with the service response. For more information on CORS and valid headers, see [Cross-origin resource sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) in Wikipedia.
1096+
Cross-origin resource sharing is a way to allow resources on a webpage to be requested from another domain. CORS works via HTTP headers sent with the client request and returned with the service response. For more information on CORS and valid headers, see [Cross-origin resource sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) in Wikipedia.
10971097

10981098
To configure your model deployment to support CORS, use the `AMLResponse` class in your entry script. This class allows you to set the headers on the response object.
10991099

0 commit comments

Comments
 (0)