Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
75ab1911
Commit
75ab1911
authored
Oct 09, 2022
by
Navodya Pasqual
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lipsync updated
parent
62b67495
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Backend/Node/src/routes/digitalHuman/dialogFlow.js
Backend/Node/src/routes/digitalHuman/dialogFlow.js
+6
-1
Backend/Python/controllers/DigitalHuman/lipSync.py
Backend/Python/controllers/DigitalHuman/lipSync.py
+0
-0
No files found.
Backend/Node/src/routes/digitalHuman/dialogFlow.js
View file @
75ab1911
...
@@ -5,21 +5,26 @@ const AWS = require('aws-sdk');
...
@@ -5,21 +5,26 @@ const AWS = require('aws-sdk');
fs
=
require
(
'
fs
'
);
fs
=
require
(
'
fs
'
);
const
config
=
require
(
'
../../config/digitalHuman/config
'
);
const
config
=
require
(
'
../../config/digitalHuman/config
'
);
// Configuring projectID, SessionID and Language code
const
projectId
=
config
.
googleProjectID
const
projectId
=
config
.
googleProjectID
const
sessionId
=
config
.
dialogFlowSessionID
const
sessionId
=
config
.
dialogFlowSessionID
const
languageCode
=
config
.
dialogFlowSessionLanguageCode
const
languageCode
=
config
.
dialogFlowSessionLanguageCode
// Credentials for Amazon Polly
// Credentials for Amazon Polly
const
Polly
=
new
AWS
.
Polly
({
const
Polly
=
new
AWS
.
Polly
({
// Region of AWS polly service
region
:
'
us-west-2
'
,
region
:
'
us-west-2
'
,
// AccesskeyID of AWS polly service
accessKeyId
:
'
AKIAWJCX4TSYJQYA5O5H
'
,
accessKeyId
:
'
AKIAWJCX4TSYJQYA5O5H
'
,
// Secret Access Key
secretAccessKey
:
'
Wg6zHy15QjZv4jHx2+YokuzWDLzW975hbljcVhab
'
secretAccessKey
:
'
Wg6zHy15QjZv4jHx2+YokuzWDLzW975hbljcVhab
'
})
})
// Credentials for dialogflow
// Credentials for dialogflow
const
credentials
=
{
const
credentials
=
{
// Client email of dialog flow
client_email
:
config
.
googleClientEmail
,
client_email
:
config
.
googleClientEmail
,
// Private key of dialog flow
private_key
:
config
.
googlePrivateKey
private_key
:
config
.
googlePrivateKey
}
}
...
...
Backend/Python/controllers/DigitalHuman/lipSync.py
0 → 100644
View file @
75ab1911
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment