You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-container-howto.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,14 +66,13 @@ The following table describes the minimum and recommended CPU cores and memory t
66
66
67
67
* Each core must be at least 2.6 gigahertz (GHz) or faster.
68
68
69
-
70
69
Core and memory correspond to the `--cpus` and `--memory` settings, which are used as part of the `docker run` command.
71
70
72
71
**Note**; The minimum and recommended are based off of Docker limits, *not* the host machine resources. For example, speech-to-text containers memory map portions of a large language model, and it is _recommended_ that the entire file fits in memory, which is an additional 4-6 GB. Also, the first run of either container may take longer, since models are being paged into memory.
73
72
74
73
## Get the container image with `docker pull`
75
74
76
-
Container images for Speech are available.
75
+
Container images for Speech are available.
77
76
78
77
| Container | Repository |
79
78
|-----------|------------|
@@ -84,7 +83,7 @@ Container images for Speech are available.
84
83
85
84
### Language locale is in container tag
86
85
87
-
The `latest` tag pulls the `en-us` locale and `jessarus` voice.
86
+
The `latest` tag pulls the `en-us` locale and `jessarus` voice.
88
87
89
88
#### Speech to text locales
90
89
@@ -114,7 +113,6 @@ The following table lists the supported locales for **speech-to-text** in the 1.
114
113
|Portuguese|`pt-br`|
115
114
|Spanish|`es-es`<br>`es-mx`|
116
115
117
-
118
116
#### Text to speech locales
119
117
120
118
All tags, except for `latest` are in the following format, where the `<culture>` indicates the locale and the `<voice>` indicates the voice of the container:
Once the container is on the [host computer](#the-host-computer), use the following process to work with the container.
168
166
169
-
1.[Run the container](#run-the-container-with-docker-run), with the required but not used billing settings. More [examples](speech-container-configuration.md#example-docker-run-commands) of the `docker run` command are available.
170
-
1.[Query the container's prediction endpoint](#query-the-containers-prediction-endpoint).
167
+
1.[Run the container](#run-the-container-with-docker-run), with the required but not used billing settings. More [examples](speech-container-configuration.md#example-docker-run-commands) of the `docker run` command are available.
168
+
1.[Query the container's prediction endpoint](#query-the-containers-prediction-endpoint).
* Runs a Speech container from the container image
208
206
* Allocates 2 CPU cores and 2 gigabytes (GB) of memory
209
207
* Exposes TCP port 5000 and allocates a pseudo-TTY for the container
210
-
* Automatically removes the container after it exits. The container image is still available on the host computer.
208
+
* Automatically removes the container after it exits. The container image is still available on the host computer.
211
209
212
210
> [!IMPORTANT]
213
211
> The `Eula`, `Billing`, and `ApiKey` options must be specified to run the container; otherwise, the container won't start. For more information, see [Billing](#billing).
@@ -236,7 +234,9 @@ var config = SpeechConfig.FromSubscription("YourSubscriptionKey", "YourServiceRe
The container provides REST endpoint APIs which can be found [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/rest-text-to-speech) and samples can be found [here](https://azure.microsoft.com/resources/samples/cognitive-speech-tts/).
259
259
260
-
261
260
[!INCLUDE [Validate container is running - Container's API documentation](../../../includes/cognitive-services-containers-api-documentation.md)]
262
261
263
-
264
262
## Stop the container
265
263
266
264
[!INCLUDE [How to stop the container](../../../includes/cognitive-services-containers-stop.md)]
267
265
268
266
## Troubleshooting
269
267
270
-
When you run the container, the container uses **stdout** and **stderr** to output information that is helpful to troubleshoot issues that happen while starting or running the container.
268
+
When you run the container, the container uses **stdout** and **stderr** to output information that is helpful to troubleshoot issues that happen while starting or running the container.
271
269
272
270
## Billing
273
271
274
-
The Speech containers send billing information to Azure, using a _Speech_ resource on your Azure account.
272
+
The Speech containers send billing information to Azure, using a _Speech_ resource on your Azure account.
0 commit comments