Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
21 | 21 | ||
22 | ```html | 22 | ```html |
23 | <script> | 23 | <script> |
24 | -<!-- Polly를 사용하기 위한 자격증명을 설정한다. --> | 24 | +// Polly를 사용하기 위한 자격증명을 설정한다. |
25 | AWS.config.region = 'ap-northeast-2'; | 25 | AWS.config.region = 'ap-northeast-2'; |
26 | AWS.config.credentials = new AWS.CognitoIdentityCredentials({IdentityPoolId: 'ap-northeast-2:03db97c9-a857-45f3-be6e-3cf84d6f619b'}); | 26 | AWS.config.credentials = new AWS.CognitoIdentityCredentials({IdentityPoolId: 'ap-northeast-2:03db97c9-a857-45f3-be6e-3cf84d6f619b'}); |
27 | const polly = new AWS.Polly({ | 27 | const polly = new AWS.Polly({ |
... | @@ -37,7 +37,7 @@ let params = { | ... | @@ -37,7 +37,7 @@ let params = { |
37 | let tts = new AWS.Polly.Presigner(params, polly) | 37 | let tts = new AWS.Polly.Presigner(params, polly) |
38 | 38 | ||
39 | 39 | ||
40 | -// Create presigned URL of synthesized speech file | 40 | +// tts로 변환한 음성 파일을 얻는다. |
41 | tts.getSynthesizeSpeechUrl(params, function(error, url) { | 41 | tts.getSynthesizeSpeechUrl(params, function(error, url) { |
42 | if (error) { | 42 | if (error) { |
43 | } else { | 43 | } else { | ... | ... |
-
Please register or login to post a comment