Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김승찬
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김수민
2019-12-02 18:47:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
18819bac916e34cf5d7c5ce6ae5bdb54d306a4c2
18819bac
1 parent
1c5063ad
modif
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
.idea/workspace.xml
app.js
.idea/workspace.xml
View file @
18819ba
...
...
@@ -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>
...
...
app.js
View file @
18819ba
...
...
@@ -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"
);
...
...
Please
register
or
login
to post a comment