김수민

modif

......@@ -2,7 +2,6 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="5c08ae96-2f87-46c1-b81d-f30e494ce252" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/app.js" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -66,6 +65,7 @@
<workItem from="1574669792266" duration="65000" />
<workItem from="1574670031852" duration="24000" />
<workItem from="1575279295835" duration="451000" />
<workItem from="1575279962465" duration="48000" />
</task>
<servers />
</component>
......
......@@ -154,6 +154,7 @@ function handleEvent(event) {
'VoiceId': 'Seoyeon',
"LanguageCode": 'ko-KR'
};
console.log("korean language");
} else if (options.form.target == 'en') {
var audio_options = {
'Text': result.text,
......@@ -161,6 +162,7 @@ function handleEvent(event) {
'VoiceId': 'Kendra',
"LanguageCode": 'en-US'
};
console.log("english language");
}
Polly.synthesizeSpeech(audio_options, (err, data) => {
console.log("check");
......