toolkit 1.0.1

This commit is contained in:
2026-10-09 10:43:20 -04:00
parent e814569a07
commit ebd3474db3
363 changed files with 3330238 additions and 0 deletions

View File

@@ -0,0 +1,165 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# potion-voice specific exclusions
voice-cloning/TTS/
voice-cloning/Trainer/
voice-cloning/temp/
voice-cloning/results/
voice-cloning/output/
voice-cloning/pretrained-models/
*.pkl
*.jpg
*.mp4
*.pth
*.pyc
__pycache__
*.h5
*.avi
*.wav
filelists/*.txt
evaluation/test_filelists/lr*.txt
*.pyc
*.mkv
*.gif
*.webm
*.mp3
node_modules
build-staging-ai/
build-production-ai/
.env.production.aws-code-deploy
.env.staging.aws-code-deploy
env-aws-code-deploy/
**/poc.js
**/yarn.lock
.prettierrc
**/package-lock.json

View File

@@ -0,0 +1,150 @@
{
"number": 1,
"title": "Initial commit",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/1",
"createdAt": "2022-04-21T13:53:32Z",
"mergedAt": "2022-04-21T13:53:54Z",
"closedAt": "2022-04-21T13:53:54Z",
"additions": 1003,
"deletions": 0,
"changedFiles": 6,
"isDraft": false,
"baseRefName": "main",
"headRefName": "initialCommit",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_unknown"
},
"mergeCommit": {
"oid": "367ecad92dbaf831382a9262e017409a4aa7ec38"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 4,
"nodes": [
{
"commit": {
"oid": "da4ff050ff67740bf97fa0292903604dcf4d8452",
"message": "Initial commit of Potion voice repo based on the VITS implementation by coqui-ai/TTS.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-04T16:13:45Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-04T16:13:45Z"
}
}
},
{
"commit": {
"oid": "f6c7d822d009121685f25fbff90f2727884775d4",
"message": "Updated usage documentation",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-07T15:30:00Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-07T15:30:00Z"
}
}
},
{
"commit": {
"oid": "70b01e98c91bf6e808d0bdf849226512220aa72c",
"message": "Updated exclusions.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T13:48:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T13:48:34Z"
}
}
},
{
"commit": {
"oid": "0f4cd72a1960b87471e2865b55f804f62189bccb",
"message": "Corrected exclusions.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T13:50:15Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T13:50:15Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": ".gitignore",
"additions": 8,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "requirements.txt",
"additions": 8,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/clone_voice.py",
"additions": 212,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 437,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 139,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 199,
"deletions": 0,
"changeType": "ADDED"
}
]
}
}

View File

@@ -0,0 +1,101 @@
{
"number": 10,
"title": "updated code for using original text",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/10",
"createdAt": "2023-01-10T09:39:58Z",
"mergedAt": "2023-01-10T12:13:20Z",
"closedAt": "2023-01-10T12:13:20Z",
"additions": 2,
"deletions": 2,
"changedFiles": 1,
"isDraft": false,
"baseRefName": "main",
"headRefName": "update-voice-cloning-to-use-original-text",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "64766ed9370d9b2da5914b3416dc6ad9271cd156"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "2e8d6cabb09f54db2ea37534ff1c0e25f0d87fba",
"message": "Uploaded code for using original text",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-10T09:38:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-10T09:38:17Z"
}
}
},
{
"commit": {
"oid": "caa711f0a6d297fa51d1bbafa0f9180356a0baa8",
"message": "Uploaded code for using original text",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-10T09:40:32Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-10T09:40:32Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-01-10T12:13:14Z",
"url": "https://github.com/potion/potion-voice/pull/10#pullrequestreview-1242087815",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,583 @@
{
"number": 11,
"title": "Voice ai v2 changes",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/11",
"createdAt": "2023-02-01T09:10:44Z",
"mergedAt": "2023-02-02T05:32:22Z",
"closedAt": "2023-02-02T05:32:22Z",
"additions": 200,
"deletions": 6819,
"changedFiles": 12,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "voice-ai-v2-changes",
"author": {
"login": "author_6"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "14c3c3630a14ab220a13d4b0ce2ac7a2b9c2ab2d"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 28,
"nodes": [
{
"commit": {
"oid": "09895be273030cf75781b88a43581db15e2b537f",
"message": "Some cleanup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:39:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:39:34Z"
}
}
},
{
"commit": {
"oid": "477c39922d6f1f8bf474d6aa215dbf7f745629af",
"message": "Some cleanup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:46Z"
}
}
},
{
"commit": {
"oid": "81a3e340d28c15313cf363697ea35e401bd48c30",
"message": "Some cleanup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:59Z"
}
}
},
{
"commit": {
"oid": "920ab8ac6ba9b428d30b655a12533e7491c17ad2",
"message": "Added todos",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-13T07:54:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-13T07:54:31Z"
}
}
},
{
"commit": {
"oid": "18e04e2e4e9ae7eef5d77d86cb83bf1efea7fbd4",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T17:46:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T17:46:46Z"
}
}
},
{
"commit": {
"oid": "31996261302205e07e9135750c71ba6c227e81ee",
"message": "update the python command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T18:36:48Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T18:36:48Z"
}
}
},
{
"commit": {
"oid": "d6a4ca9809bd3e61bce09d81534c85582a6648c4",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:42:04Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:42:04Z"
}
}
},
{
"commit": {
"oid": "5dbe54bf0674a0323fb237d2549b3bccab8b1bae",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:50:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:50:16Z"
}
}
},
{
"commit": {
"oid": "103d47f263421ab090097825883fe33f9cbd1830",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:51:23Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:51:23Z"
}
}
},
{
"commit": {
"oid": "de9256d575777382caee28192d6e7321d4f6cf37",
"message": "Merge branch 'main' into voice-ai-v2-changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T15:30:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T15:30:59Z"
}
}
},
{
"commit": {
"oid": "4054eaeabf53f7a1477134496e26d1b323a89211",
"message": "Removed unwanted package",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:24:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:24:29Z"
}
}
},
{
"commit": {
"oid": "676ae4419c2c00340a6e0ddbc2ebedaf547b984b",
"message": "updated zip command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:31:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:31:31Z"
}
}
},
{
"commit": {
"oid": "a1d7a29e837f4c508245ed6158c07accfe1ab550",
"message": "Updated path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:47:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:47:26Z"
}
}
},
{
"commit": {
"oid": "9eac7f855681a903b6372d74a0252ffa3f4f6ceb",
"message": "Updated zippath",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:59:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:59:07Z"
}
}
},
{
"commit": {
"oid": "6f33b7b4c8d3b14e323a5e87852216e35da8806d",
"message": "Updated zippath",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:03:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:03:24Z"
}
}
},
{
"commit": {
"oid": "a4a22adba17913568643f56a7803b743055dde97",
"message": "Updated zippath",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:06:13Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:06:13Z"
}
}
},
{
"commit": {
"oid": "b1222eea17760fbf5c9cf6007637a6f01e7deab7",
"message": "Updated path for result",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:09:05Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:09:05Z"
}
}
},
{
"commit": {
"oid": "60193204e3783f20e156000ef48a2b9386002d88",
"message": "updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:25:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:25:27Z"
}
}
},
{
"commit": {
"oid": "7960ed5dfa9afce6281350870977aa48f4f903d2",
"message": "updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:31:20Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:31:20Z"
}
}
},
{
"commit": {
"oid": "633ecbafcda44c57d24ab4280aec53e9453c93ba",
"message": "Added changes for the synthesize command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T21:57:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T21:57:29Z"
}
}
},
{
"commit": {
"oid": "6a0fdc17bb6c19d20338c1a6cae2bbea8f87dcb4",
"message": "updated voice-ai-changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-22T18:43:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-22T18:43:39Z"
}
}
},
{
"commit": {
"oid": "fd70943a1ca541e00852e7384f91c7b09c42d9d3",
"message": "Updated speaker path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T08:52:25Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T08:52:25Z"
}
}
},
{
"commit": {
"oid": "0617f15153fdffd52f009bb0429d6878743649dc",
"message": "Updated speaker path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T10:01:08Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T10:01:08Z"
}
}
},
{
"commit": {
"oid": "0e83ea6cd962df73dccf012582fcd31277e9398e",
"message": "Updated code for synthesis",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:16:01Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:16:01Z"
}
}
},
{
"commit": {
"oid": "f996adf6c1277fd78253badeb77d487c5ad1d328",
"message": "Updated code for synthesis",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:24:45Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:24:45Z"
}
}
},
{
"commit": {
"oid": "2aea05da7bfa3c057f3a31ed16639e461a395f53",
"message": "Updated job code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:36:52Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:36:52Z"
}
}
},
{
"commit": {
"oid": "6a234309474cbc1e420fd092fefed97ec2c75aae",
"message": "Updated job code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T14:24:36Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T14:24:36Z"
}
}
},
{
"commit": {
"oid": "a616fd33178b70105d5cb40694e74e2c1df124da",
"message": "Added condition for delete check",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:20:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:20:17Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_7"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-02-02T05:32:09Z",
"url": "https://github.com/potion/potion-voice/pull/11#pullrequestreview-1280363999",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": ".gitignore",
"additions": 3,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": ".prettierrc",
"additions": 0,
"deletions": 7,
"changeType": "REMOVED"
},
{
"path": "voice-cloning-job-handler/index.js",
"additions": 56,
"deletions": 11,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/package-lock.json",
"additions": 0,
"deletions": 1782,
"changeType": "REMOVED"
},
{
"path": "voice-cloning-job-handler/package.json",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/user_audio_profile/user_audio_profile_service.js",
"additions": 8,
"deletions": 10,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/voice_cloning/voice_cloning_service.js",
"additions": 0,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/yarn.lock",
"additions": 0,
"deletions": 2475,
"changeType": "REMOVED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 53,
"deletions": 56,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/recording_salutation/index.js",
"additions": 3,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/recording_salutation/recording_salutation_model.js",
"additions": 76,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "yarn.lock",
"additions": 0,
"deletions": 2475,
"changeType": "REMOVED"
}
]
}
}

View File

@@ -0,0 +1,129 @@
{
"number": 12,
"title": "Ai 490 adv synth",
"body": "Added:\r\n+ optional speech sample waveform and text parameter support for style transfer\r\n+ upsampling of synthetic speech output to target sampling rate (48kHz by default)\r\n\r\nUpdated:\r\n+ usage documentation",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/12",
"createdAt": "2023-02-01T17:09:41Z",
"mergedAt": "2023-02-02T05:52:09Z",
"closedAt": "2023-02-02T05:52:09Z",
"additions": 42,
"deletions": 21,
"changedFiles": 3,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "ai-490-adv-synth",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "9de3769f0cfe8a81dbccf331702452f2c0112987"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": [
{
"login": "author_6"
}
]
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "6645341cf0150d9c2f3766c885fe8891660e2ac5",
"message": "Synthesising audio with optional speech samples for style transfer; upsampling output to target sampling rate (48kHz as default).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T16:51:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T16:51:24Z"
}
}
},
{
"commit": {
"oid": "b2d1cd59e7bd8a0a1d8a1606664230882e988d15",
"message": "Cleaned up and documented extended synthesising approach.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T17:05:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T17:05:34Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_7"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-02-02T05:33:12Z",
"url": "https://github.com/potion/potion-voice/pull/12#pullrequestreview-1280364688",
"comments": {
"nodes": []
}
},
{
"author": {
"login": "author_7"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-02-02T05:38:09Z",
"url": "https://github.com/potion/potion-voice/pull/12#pullrequestreview-1280367849",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 10,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 23,
"deletions": 8,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/utils/synthesize_utils.py",
"additions": 9,
"deletions": 10,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,76 @@
{
"number": 13,
"title": "Added sr48000 for wave",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/13",
"createdAt": "2023-02-02T05:50:19Z",
"mergedAt": "2023-02-02T05:53:02Z",
"closedAt": "2023-02-02T05:53:02Z",
"additions": 1,
"deletions": 1,
"changedFiles": 1,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "fix-output-for-wav",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "e54a3b5cec759c2269cfb3e02c26f9674699a26b"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": [
{
"login": "author_6"
}
]
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "6facd07321ab07dd4bdf2b4decbdd652c24cb442",
"message": "Added sr48000 for wave",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:49:36Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:49:36Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,107 @@
{
"number": 14,
"title": "New feature score model",
"body": "No impact on staging / prod ... just for dev / training.",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/14",
"createdAt": "2023-02-03T04:11:03Z",
"mergedAt": "2023-02-03T10:51:48Z",
"closedAt": "2023-02-03T10:51:48Z",
"additions": 220,
"deletions": 1,
"changedFiles": 2,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "new-feature-score-model",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "4d32b78bf90cd62384f5a788c1d5e19f61e27007"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "25c21387320b085eec8c3a223fcb4ca44d952247",
"message": "Add ffmpeg to system-wide install requirements (synthesize_speech requires this now, but it's missing from the documentation).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T15:17:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T15:25:31Z"
}
}
},
{
"commit": {
"oid": "18f64f968a0b75f2b26a11e337dd596413055f5f",
"message": "Added new capability to test and rank a set of multi-speaker models (using Resemblyzer-based voice similarity).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T04:08:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T04:08:02Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_7"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-02-03T10:51:37Z",
"url": "https://github.com/potion/potion-voice/pull/14#pullrequestreview-1282766813",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/score_models.py",
"additions": 219,
"deletions": 0,
"changeType": "ADDED"
}
]
}
}

View File

@@ -0,0 +1,417 @@
{
"number": 15,
"title": "New feature score model",
"body": "Improved and documented the new find_best_* model scripts.",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/15",
"createdAt": "2023-02-07T15:46:36Z",
"mergedAt": "2023-04-21T04:50:02Z",
"closedAt": "2023-04-21T04:50:02Z",
"additions": 421,
"deletions": 68,
"changedFiles": 12,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "new-feature-score-model",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "da6d4e590a2db6dde5c4ab55147d277f8856e05e"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": [
{
"login": "author_6"
},
{
"login": "author_7"
}
]
},
"commits": {
"totalCount": 18,
"nodes": [
{
"commit": {
"oid": "ba8c0bb2527ea447d4d3ac69a44ccb442419f1ce",
"message": "Refined voice cloning to support new capabilities to determine best model; updated recently adde capability to determine best multi-speaker model.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-06T17:33:28Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-06T17:33:28Z"
}
}
},
{
"commit": {
"oid": "bbfa2b24aecd57f0ff35f94815b004de33a81218",
"message": "Added json output option.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-07T09:54:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-07T09:54:31Z"
}
}
},
{
"commit": {
"oid": "3d19bbd67f252f521da92142897f4f4bd46bd1b3",
"message": "Added syntax & usage examples for new find_best_* scripts; improved code readability",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-07T15:42:44Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-07T15:42:44Z"
}
}
},
{
"commit": {
"oid": "f452e872f96136c1985f1ab30efc03e25e333ccc",
"message": "Minor bug fix: mispelling of variable corrected.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-13T07:49:08Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-13T07:49:08Z"
}
}
},
{
"commit": {
"oid": "b575d70b7331c56fc1ae1bef5055c20cbf80c450",
"message": "out.cloned_model_path now returns the full path, not just the path to the output folder.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-13T14:48:43Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-13T14:48:43Z"
}
}
},
{
"commit": {
"oid": "a2b8a49be22efb291a3ece06d4098ceb9853210e",
"message": "Added updates for new feature",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:45:44Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:45:44Z"
}
}
},
{
"commit": {
"oid": "a4e6cb973a5d0be91eac08d6400bbaa543ccb3e1",
"message": "updated env",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:50:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:50:29Z"
}
}
},
{
"commit": {
"oid": "e7eeb7e4e70698fc6ef9353bc9c4898efbb99ecc",
"message": "Added console",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T07:15:11Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T07:15:11Z"
}
}
},
{
"commit": {
"oid": "d965399eb9437e2d8623a4d89ffbfd5a85a3d2b1",
"message": "Bug fix: dataset naming conventions back in sync.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T09:58:10Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T09:58:10Z"
}
}
},
{
"commit": {
"oid": "d342b87cd82ba38bfc5f4ed680d0841754065c17",
"message": "Merge branch 'new-feature-score-model' into new-feature-updates",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T11:55:54Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T11:55:54Z"
}
}
},
{
"commit": {
"oid": "8d2af53303db512e74c497cc17b43f9e7e6d61e8",
"message": "Added changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T13:41:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T13:41:34Z"
}
}
},
{
"commit": {
"oid": "2dab89e74c7721718f844c984ca628ac5b95e12c",
"message": "Added path changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T15:11:43Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T15:11:43Z"
}
}
},
{
"commit": {
"oid": "ba03da7512be4d8e094fd8efe867af47eb73216d",
"message": "Added path changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T16:42:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T16:42:02Z"
}
}
},
{
"commit": {
"oid": "c04ece4f8c09085ce2db37e4dd1831e89a9adc53",
"message": "Added path changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T17:30:10Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T17:30:10Z"
}
}
},
{
"commit": {
"oid": "224358eb5313bd84653159c0b9285b593d7c543e",
"message": "Added changes to model name",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:15:55Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:16:01Z"
}
}
},
{
"commit": {
"oid": "bd02cf536700604a600554b9b22d4ce759660763",
"message": "Added changes to model name",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:20:20Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:20:25Z"
}
}
},
{
"commit": {
"oid": "70ce62652dcd27038eebeaa6aa237f31099850b2",
"message": "Added code for removing speakers",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-03-03T06:19:41Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-03-03T06:19:41Z"
}
}
},
{
"commit": {
"oid": "6f04f67524f32fe63e334373b5aa445703740b9c",
"message": "Merge pull request #17 from potion/new-feature-updates\n\nNew feature updates",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-03-08T19:59:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-03-08T19:59:07Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 53,
"deletions": 28,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-production.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice.py",
"additions": 28,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 112,
"deletions": 6,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/find_best_cloned_model.py",
"additions": 205,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/find_best_multispeaker_model.py",
"additions": 4,
"deletions": 16,
"changeType": "RENAMED"
},
{
"path": "voice-cloning/prepare_datasets.py",
"additions": 3,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/score_cloned_voice.py",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_config.py",
"additions": 6,
"deletions": 6,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 1,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 6,
"deletions": 2,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,751 @@
{
"number": 16,
"title": "Staging > Main",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/16",
"createdAt": "2023-02-13T04:47:47Z",
"mergedAt": "2023-02-13T09:49:07Z",
"closedAt": "2023-02-13T09:49:07Z",
"additions": 463,
"deletions": 6842,
"changedFiles": 16,
"isDraft": false,
"baseRefName": "main",
"headRefName": "staging",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "b704d803d14b4a61516927e0e348a5cf3cef844e"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 37,
"nodes": [
{
"commit": {
"oid": "09895be273030cf75781b88a43581db15e2b537f",
"message": "Some cleanup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:39:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:39:34Z"
}
}
},
{
"commit": {
"oid": "477c39922d6f1f8bf474d6aa215dbf7f745629af",
"message": "Some cleanup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:46Z"
}
}
},
{
"commit": {
"oid": "81a3e340d28c15313cf363697ea35e401bd48c30",
"message": "Some cleanup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-12T15:41:59Z"
}
}
},
{
"commit": {
"oid": "920ab8ac6ba9b428d30b655a12533e7491c17ad2",
"message": "Added todos",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-13T07:54:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-13T07:54:31Z"
}
}
},
{
"commit": {
"oid": "18e04e2e4e9ae7eef5d77d86cb83bf1efea7fbd4",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T17:46:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T17:46:46Z"
}
}
},
{
"commit": {
"oid": "31996261302205e07e9135750c71ba6c227e81ee",
"message": "update the python command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T18:36:48Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-16T18:36:48Z"
}
}
},
{
"commit": {
"oid": "d6a4ca9809bd3e61bce09d81534c85582a6648c4",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:42:04Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:42:04Z"
}
}
},
{
"commit": {
"oid": "5dbe54bf0674a0323fb237d2549b3bccab8b1bae",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:50:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:50:16Z"
}
}
},
{
"commit": {
"oid": "103d47f263421ab090097825883fe33f9cbd1830",
"message": "Added code for v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:51:23Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-17T07:51:23Z"
}
}
},
{
"commit": {
"oid": "de9256d575777382caee28192d6e7321d4f6cf37",
"message": "Merge branch 'main' into voice-ai-v2-changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T15:30:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T15:30:59Z"
}
}
},
{
"commit": {
"oid": "4054eaeabf53f7a1477134496e26d1b323a89211",
"message": "Removed unwanted package",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:24:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:24:29Z"
}
}
},
{
"commit": {
"oid": "676ae4419c2c00340a6e0ddbc2ebedaf547b984b",
"message": "updated zip command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:31:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:31:31Z"
}
}
},
{
"commit": {
"oid": "a1d7a29e837f4c508245ed6158c07accfe1ab550",
"message": "Updated path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:47:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:47:26Z"
}
}
},
{
"commit": {
"oid": "9eac7f855681a903b6372d74a0252ffa3f4f6ceb",
"message": "Updated zippath",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:59:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T19:59:07Z"
}
}
},
{
"commit": {
"oid": "6f33b7b4c8d3b14e323a5e87852216e35da8806d",
"message": "Updated zippath",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:03:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:03:24Z"
}
}
},
{
"commit": {
"oid": "a4a22adba17913568643f56a7803b743055dde97",
"message": "Updated zippath",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:06:13Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:06:13Z"
}
}
},
{
"commit": {
"oid": "b1222eea17760fbf5c9cf6007637a6f01e7deab7",
"message": "Updated path for result",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:09:05Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:09:05Z"
}
}
},
{
"commit": {
"oid": "60193204e3783f20e156000ef48a2b9386002d88",
"message": "updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:25:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:25:27Z"
}
}
},
{
"commit": {
"oid": "7960ed5dfa9afce6281350870977aa48f4f903d2",
"message": "updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:31:20Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T20:31:20Z"
}
}
},
{
"commit": {
"oid": "633ecbafcda44c57d24ab4280aec53e9453c93ba",
"message": "Added changes for the synthesize command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T21:57:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-18T21:57:29Z"
}
}
},
{
"commit": {
"oid": "6a0fdc17bb6c19d20338c1a6cae2bbea8f87dcb4",
"message": "updated voice-ai-changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-22T18:43:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-22T18:43:39Z"
}
}
},
{
"commit": {
"oid": "fd70943a1ca541e00852e7384f91c7b09c42d9d3",
"message": "Updated speaker path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T08:52:25Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T08:52:25Z"
}
}
},
{
"commit": {
"oid": "0617f15153fdffd52f009bb0429d6878743649dc",
"message": "Updated speaker path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T10:01:08Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T10:01:08Z"
}
}
},
{
"commit": {
"oid": "0e83ea6cd962df73dccf012582fcd31277e9398e",
"message": "Updated code for synthesis",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:16:01Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:16:01Z"
}
}
},
{
"commit": {
"oid": "f996adf6c1277fd78253badeb77d487c5ad1d328",
"message": "Updated code for synthesis",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:24:45Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:24:45Z"
}
}
},
{
"commit": {
"oid": "2aea05da7bfa3c057f3a31ed16639e461a395f53",
"message": "Updated job code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:36:52Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T11:36:52Z"
}
}
},
{
"commit": {
"oid": "6a234309474cbc1e420fd092fefed97ec2c75aae",
"message": "Updated job code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T14:24:36Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-01-25T14:24:36Z"
}
}
},
{
"commit": {
"oid": "6645341cf0150d9c2f3766c885fe8891660e2ac5",
"message": "Synthesising audio with optional speech samples for style transfer; upsampling output to target sampling rate (48kHz as default).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T16:51:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T16:51:24Z"
}
}
},
{
"commit": {
"oid": "b2d1cd59e7bd8a0a1d8a1606664230882e988d15",
"message": "Cleaned up and documented extended synthesising approach.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T17:05:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-01T17:05:34Z"
}
}
},
{
"commit": {
"oid": "a616fd33178b70105d5cb40694e74e2c1df124da",
"message": "Added condition for delete check",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:20:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:20:17Z"
}
}
},
{
"commit": {
"oid": "14c3c3630a14ab220a13d4b0ce2ac7a2b9c2ab2d",
"message": "Merge pull request #11 from potion/voice-ai-v2-changes\n\nVoice ai v2 changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:32:22Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:32:22Z"
}
}
},
{
"commit": {
"oid": "6facd07321ab07dd4bdf2b4decbdd652c24cb442",
"message": "Added sr48000 for wave",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:49:36Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:49:36Z"
}
}
},
{
"commit": {
"oid": "9de3769f0cfe8a81dbccf331702452f2c0112987",
"message": "Merge pull request #12 from potion/ai-490-adv-synth\n\nAi 490 adv synth",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:52:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:52:09Z"
}
}
},
{
"commit": {
"oid": "e54a3b5cec759c2269cfb3e02c26f9674699a26b",
"message": "Merge pull request #13 from potion/fix-output-for-wav\n\nAdded sr48000 for wave",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:53:01Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T05:53:01Z"
}
}
},
{
"commit": {
"oid": "25c21387320b085eec8c3a223fcb4ca44d952247",
"message": "Add ffmpeg to system-wide install requirements (synthesize_speech requires this now, but it's missing from the documentation).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T15:17:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-02T15:25:31Z"
}
}
},
{
"commit": {
"oid": "18f64f968a0b75f2b26a11e337dd596413055f5f",
"message": "Added new capability to test and rank a set of multi-speaker models (using Resemblyzer-based voice similarity).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T04:08:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T04:08:02Z"
}
}
},
{
"commit": {
"oid": "4d32b78bf90cd62384f5a788c1d5e19f61e27007",
"message": "Merge pull request #14 from potion/new-feature-score-model\n\nNew feature score model",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T10:51:48Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T10:51:48Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-02-13T09:48:42Z",
"url": "https://github.com/potion/potion-voice/pull/16#pullrequestreview-1295270316",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": ".gitignore",
"additions": 3,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": ".prettierrc",
"additions": 0,
"deletions": 7,
"changeType": "REMOVED"
},
{
"path": "voice-cloning-job-handler/index.js",
"additions": 56,
"deletions": 11,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/package-lock.json",
"additions": 0,
"deletions": 1782,
"changeType": "REMOVED"
},
{
"path": "voice-cloning-job-handler/package.json",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/user_audio_profile/user_audio_profile_service.js",
"additions": 8,
"deletions": 10,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/voice_cloning/voice_cloning_service.js",
"additions": 0,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/yarn.lock",
"additions": 0,
"deletions": 2475,
"changeType": "REMOVED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 11,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/score_models.py",
"additions": 219,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 23,
"deletions": 8,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/utils/synthesize_utils.py",
"additions": 9,
"deletions": 10,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 54,
"deletions": 57,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/recording_salutation/index.js",
"additions": 3,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/recording_salutation/recording_salutation_model.js",
"additions": 76,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "yarn.lock",
"additions": 0,
"deletions": 2475,
"changeType": "REMOVED"
}
]
}
}

View File

@@ -0,0 +1,263 @@
{
"number": 17,
"title": "New feature updates",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/17",
"createdAt": "2023-03-03T05:14:09Z",
"mergedAt": "2023-03-08T19:59:08Z",
"closedAt": "2023-03-08T19:59:08Z",
"additions": 61,
"deletions": 32,
"changedFiles": 4,
"isDraft": false,
"baseRefName": "new-feature-score-model",
"headRefName": "new-feature-updates",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "6f04f67524f32fe63e334373b5aa445703740b9c"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 11,
"nodes": [
{
"commit": {
"oid": "a2b8a49be22efb291a3ece06d4098ceb9853210e",
"message": "Added updates for new feature",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:45:44Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:45:44Z"
}
}
},
{
"commit": {
"oid": "a4e6cb973a5d0be91eac08d6400bbaa543ccb3e1",
"message": "updated env",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:50:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T06:50:29Z"
}
}
},
{
"commit": {
"oid": "e7eeb7e4e70698fc6ef9353bc9c4898efbb99ecc",
"message": "Added console",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T07:15:11Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T07:15:11Z"
}
}
},
{
"commit": {
"oid": "d342b87cd82ba38bfc5f4ed680d0841754065c17",
"message": "Merge branch 'new-feature-score-model' into new-feature-updates",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T11:55:54Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T11:55:54Z"
}
}
},
{
"commit": {
"oid": "8d2af53303db512e74c497cc17b43f9e7e6d61e8",
"message": "Added changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T13:41:34Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T13:41:34Z"
}
}
},
{
"commit": {
"oid": "2dab89e74c7721718f844c984ca628ac5b95e12c",
"message": "Added path changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T15:11:43Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T15:11:43Z"
}
}
},
{
"commit": {
"oid": "ba03da7512be4d8e094fd8efe867af47eb73216d",
"message": "Added path changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T16:42:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T16:42:02Z"
}
}
},
{
"commit": {
"oid": "c04ece4f8c09085ce2db37e4dd1831e89a9adc53",
"message": "Added path changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T17:30:10Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T17:30:10Z"
}
}
},
{
"commit": {
"oid": "224358eb5313bd84653159c0b9285b593d7c543e",
"message": "Added changes to model name",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:15:55Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:16:01Z"
}
}
},
{
"commit": {
"oid": "bd02cf536700604a600554b9b22d4ce759660763",
"message": "Added changes to model name",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:20:20Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-14T18:20:25Z"
}
}
},
{
"commit": {
"oid": "70ce62652dcd27038eebeaa6aa237f31099850b2",
"message": "Added code for removing speakers",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-03-03T06:19:41Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-03-03T06:19:41Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-03-08T19:59:00Z",
"url": "https://github.com/potion/potion-voice/pull/17#pullrequestreview-1331346663",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 53,
"deletions": 28,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-production.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 6,
"deletions": 2,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,661 @@
{
"number": 18,
"title": "Refined voice cloning settings",
"body": "Update settings for voice cloning.",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/18",
"createdAt": "2023-04-21T05:10:41Z",
"mergedAt": "2023-06-21T10:58:16Z",
"closedAt": "2023-06-21T10:58:17Z",
"additions": 1152,
"deletions": 146,
"changedFiles": 15,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "develop",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "54efcabc34b82b156ab06a0beab0f895d4c7edd0"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 32,
"nodes": [
{
"commit": {
"oid": "a47c5e000965b8c38d742a512d88c20d457cfd6a",
"message": "Refined checkpointing and enabled weighted sampler for multi-speaker baseline training.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T17:55:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T17:55:31Z"
}
}
},
{
"commit": {
"oid": "c58120f853b1c7549818d7f7194d6fb901ebbc39",
"message": "Refined checkpointing and enabled weighted sampler for multi-speaker baseline training.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T17:55:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T17:56:49Z"
}
}
},
{
"commit": {
"oid": "c53d9e44c068880953046b1ceab8e6da82b7f60c",
"message": "Merge branch 'develop' of https://github.com/potion/potion-voice into develop",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T18:02:10Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-02-03T18:02:10Z"
}
}
},
{
"commit": {
"oid": "237c552fb6dafcf22c2213e69692cd22d6df43e1",
"message": "Merge branch 'staging' into develop",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-04-21T05:13:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-04-21T05:13:59Z"
}
}
},
{
"commit": {
"oid": "452d734aefe8407bc0b018fa1974acbe1429dd05",
"message": "Added support for Potion Diverse and Mozilla Common Voice data-sets as well as for continuation of training runs.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-04-27T02:37:20Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-04-27T02:37:20Z"
}
}
},
{
"commit": {
"oid": "c811784a9e37b78698f913bc63c76868e14b902f",
"message": "Merge conflict resolved (naming convention diversion addressed.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-04-27T02:45:15Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-04-27T02:45:15Z"
}
}
},
{
"commit": {
"oid": "940e2d1af624e35dec9447b91495a2908c95c7b5",
"message": "Test sentences added based on dataset arguments; training parameters revised; phoneme usage supported as argument.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-05T15:35:00Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-05T15:35:00Z"
}
}
},
{
"commit": {
"oid": "d6dea65f95cc3a8d8f3e37f62cc022f908a1a936",
"message": "Add loss to config explicitely; use different resblock_type_decoder by default",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-09T07:09:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-09T07:09:26Z"
}
}
},
{
"commit": {
"oid": "4a9ddf2b561bf6240d3d03da8671e77b7e7ed78a",
"message": "phoneme support; updated training parameters; removed use_cpu option (unsupported).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-15T07:48:30Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-15T07:48:30Z"
}
}
},
{
"commit": {
"oid": "2563f8dee714cd8b83e72a511c37c7daa4db5c19",
"message": "Remove overwrite of phoneme usage; use setting from config.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-15T16:07:22Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-15T16:07:22Z"
}
}
},
{
"commit": {
"oid": "31dd16cc50d27f434b0afa719f44ad4565a9f17b",
"message": "Added new script to generate a merged speaker embeddings file (for multiple datasets).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-17T16:14:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-17T16:14:46Z"
}
}
},
{
"commit": {
"oid": "96680990014cc7c8943fdec303e04299ec5a5914",
"message": "Minor bug fix (argument misspelled).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-17T16:24:30Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-17T16:24:30Z"
}
}
},
{
"commit": {
"oid": "a70ed6dc7f33de96b19390bfa66a2e755e899232",
"message": "Removed unnecessary import; improved comments.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-18T02:27:06Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-18T02:27:06Z"
}
}
},
{
"commit": {
"oid": "f0a7f3cfa96afbb14defc01c2484559d13a9eb2a",
"message": "Added new voice conversion option (idea 1: convert from multi-speaker model; idea 2: clone voice, synthesize speech, convert into recorded template; ...).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-18T15:39:33Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-18T15:39:33Z"
}
}
},
{
"commit": {
"oid": "abb23d49febcb47434f8d5e4db467f86bdd242cb",
"message": "Replaces hard-coded spk embedding reference; commented code more thoroughly.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-18T16:45:58Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-18T16:45:58Z"
}
}
},
{
"commit": {
"oid": "2ed529263af58b0c8374306bd530ab58892df2e7",
"message": "Added new voice cloning approach (using fine-tuning via continue_path).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T08:53:49Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T08:53:49Z"
}
}
},
{
"commit": {
"oid": "b3d7d633595b26c75c34c6e876685ae0e3008977",
"message": "Spelling and formatting improvements.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T08:54:37Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T08:54:37Z"
}
}
},
{
"commit": {
"oid": "7836c1cbf74f408d76bd2777ff38dc116b596951",
"message": "Revised training parameters after testing (no freeze and unique phoneme cache per run).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T10:10:03Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T10:10:03Z"
}
}
},
{
"commit": {
"oid": "3f80bdcb2a4efdb4c7086c8e4985eca28d0262c8",
"message": "Fixed typo",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T10:13:20Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-19T10:13:20Z"
}
}
},
{
"commit": {
"oid": "d59d33fb0190c1b42148804e112e8c3578544fbb",
"message": "Explicitly name phonemizer (i.e., espeak).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-22T02:25:36Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-22T02:25:36Z"
}
}
},
{
"commit": {
"oid": "913e45d5b8d16859d74d1ae327835473ee7d4d8c",
"message": "Remove scaling factors for now; improved conversion settings.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-22T14:57:32Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-22T14:57:32Z"
}
}
},
{
"commit": {
"oid": "320b26f304a147b511d015487de6dcc62d4d17d9",
"message": "Added numpy import for assert statements.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-22T15:03:21Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-22T15:03:21Z"
}
}
},
{
"commit": {
"oid": "4ad5caa4edc3fd79c4fddc52f91fd7b8d67902ef",
"message": "Fixed mistake in target_auddio_embedding computation.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-23T07:48:57Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-23T07:48:57Z"
}
}
},
{
"commit": {
"oid": "2bf1db90a774abebce8f68cb92428807a0fd2c33",
"message": "Added clean-up steps to remove temporary files.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-23T15:01:35Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-23T15:01:35Z"
}
}
},
{
"commit": {
"oid": "5ae957485632e7e49295104ff9c7095ab3ec11d2",
"message": "Fixed typo.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T02:44:19Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T02:44:19Z"
}
}
},
{
"commit": {
"oid": "87aeefc7689f0cb76a0cc8455178015be11fb04e",
"message": "Added (but left them commented out) additional configuration options used in the YourTTS paper.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T02:45:21Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T02:45:21Z"
}
}
},
{
"commit": {
"oid": "0b29c3b698a063048762c42c90b6f653371e9135",
"message": "Added scale related synth parameters (to be tested / refined).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T02:56:14Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T02:56:14Z"
}
}
},
{
"commit": {
"oid": "e23cc5d5abb6d6f87d55606088e05edd6e15021f",
"message": "Added sampiling rate as argument (in preparation for higher quality training runs).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T15:02:21Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-24T15:02:21Z"
}
}
},
{
"commit": {
"oid": "1e036850c9c3514acfce3ab549ad1a7953b37ca2",
"message": "Added ffmpeg-normalize and require resemblyzer>=1.3.0.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-25T16:57:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-25T16:57:17Z"
}
}
},
{
"commit": {
"oid": "add8aec51cb065024e3658ba3abd24cddb3af0e4",
"message": "New cloning step and deployment guidance added; TTS requirements updated.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-25T16:58:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-05-25T16:58:39Z"
}
}
},
{
"commit": {
"oid": "397d59ea1071383b5cf94b584028f5040d83f951",
"message": "Fixed typo in requirements files.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-21T10:03:06Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-21T10:03:06Z"
}
}
},
{
"commit": {
"oid": "08d6314e0270b92a1dcab69b30ba57313badd7ea",
"message": "TTS repo assumes config.json name is fixed ... it's hardcoded; so, keep it as config.json.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-21T10:22:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-21T10:22:39Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": [
{
"author": {
"login": "author_unknown"
},
"body": "@author_7 @author_6 This is ready to be merged into staging!",
"createdAt": "2023-05-25T17:05:27Z",
"url": "https://github.com/potion/potion-voice/pull/18#issuecomment-1563235903"
}
]
},
"files": {
"nodes": [
{
"path": "requirements.dev.local.txt",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "requirements.dev.txt",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "requirements.prod.cpu.txt",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "requirements.prod.gpu.txt",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "requirements.txt",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice.py",
"additions": 17,
"deletions": 22,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice_via_continue.py",
"additions": 278,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/convert_voice.py",
"additions": 308,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 153,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/prepare_datasets.py",
"additions": 84,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/save_multispeaker_baseline_embeddings_file.py",
"additions": 107,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 5,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_config.py",
"additions": 21,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 168,
"deletions": 108,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/utils/synthesize_utils.py",
"additions": 1,
"deletions": 4,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,234 @@
{
"number": 19,
"title": "Update voice clone 23 05",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/19",
"createdAt": "2023-06-21T10:59:07Z",
"mergedAt": "2023-06-27T04:50:28Z",
"closedAt": "2023-06-27T04:50:29Z",
"additions": 182,
"deletions": 91,
"changedFiles": 4,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "update-voice-clone-23-05",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "6d89d4f3c84b1f743d93d3b1f6cf70472e1866e5"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 10,
"nodes": [
{
"commit": {
"oid": "94b4cbeb8e5863366512cbcc413a4a99817bef3d",
"message": "Changed version of python package",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:11:56Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:11:56Z"
}
}
},
{
"commit": {
"oid": "b254ec4c2842e34c4fb8a807655330916114ea45",
"message": "Added code for new changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:30:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:30:27Z"
}
}
},
{
"commit": {
"oid": "d95cae5242691b67688cad0077d0eef1ccf89fb2",
"message": "Added changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T15:00:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T15:00:59Z"
}
}
},
{
"commit": {
"oid": "0d7dc5354f866e849645692cd8af93ddd47a624c",
"message": "Added changes for synthesizer",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:02:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:02:16Z"
}
}
},
{
"commit": {
"oid": "219835c25c561b6d6f964c3ac533e2481b483c94",
"message": "Added change",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:10:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:10:09Z"
}
}
},
{
"commit": {
"oid": "58d0c83a2b2525967598d0915d374937e7dfd416",
"message": "Added path change",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:19:08Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:19:08Z"
}
}
},
{
"commit": {
"oid": "5cb69b8e41743b1b5f7f66e65ea15ff64a0ea945",
"message": "Added changes for not to save the salutation to global",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:51:40Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:51:40Z"
}
}
},
{
"commit": {
"oid": "58f4b9346d1918f2f83ae249035c8e93d326046c",
"message": "Merge branch 'staging' into update-voice-clone-23-05",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:52:23Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:52:23Z"
}
}
},
{
"commit": {
"oid": "8aeccc682363a55001fbdb9ec67c861cfb6a8b63",
"message": "Added code for deleting directory",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:15:47Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:15:47Z"
}
}
},
{
"commit": {
"oid": "e5f6efbb72902997353580ee56b7893c64452165",
"message": "Added delete code for template",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:32:35Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:32:35Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 3,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 170,
"deletions": 89,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-development.yml",
"additions": 5,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-production.yml",
"additions": 4,
"deletions": 0,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,100 @@
{
"number": 2,
"title": "Initial commit",
"body": "Additional improvements for initial commit (coqiau/TTS v0.6.2 compatibility)",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/2",
"createdAt": "2022-04-21T14:49:50Z",
"mergedAt": "2022-04-21T14:50:00Z",
"closedAt": "2022-04-21T14:50:00Z",
"additions": 19,
"deletions": 14,
"changedFiles": 3,
"isDraft": false,
"baseRefName": "main",
"headRefName": "initialCommit",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_unknown"
},
"mergeCommit": {
"oid": "a1d5a6b458af59b350a684e6fade1d1109b6d236"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "b6abea59339bea8d4923d53fafc3c0e0d7c27ec9",
"message": "Removed install requirements for coqi-ai/Trainer (now a TTS dependency); added pretrained model install requirements.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T14:44:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T14:44:27Z"
}
}
},
{
"commit": {
"oid": "5cc49e28dbfbe823e3043232bc1984bdaf58b05f",
"message": "coquai/TTS v0.6.2 compatibiliuty changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T14:46:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T14:46:02Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning/clone_voice.py",
"additions": 3,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 13,
"deletions": 8,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 3,
"deletions": 3,
"changeType": "MODIFIED"
}
]
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,94 @@
{
"number": 21,
"title": "Dev find best fixup",
"body": "find_best_* improvements (suppress TTS-based command line output; track progress instead)",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/21",
"createdAt": "2023-07-21T05:14:32Z",
"mergedAt": "2023-07-21T05:14:54Z",
"closedAt": "2023-07-21T05:14:54Z",
"additions": 88,
"deletions": 53,
"changedFiles": 2,
"isDraft": false,
"baseRefName": "develop",
"headRefName": "dev-find-best-fixup",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_unknown"
},
"mergeCommit": {
"oid": "a6639dbbae3c7920b312b5077aea4a9b42c18e1e"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "f456697d843e83a34b1b5c192ced548bd10ae9d5",
"message": "Add progress tracker and suppress default TTS command-line outputs.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-17T08:32:37Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-17T08:32:37Z"
}
}
},
{
"commit": {
"oid": "dacf5b23d8581e816104868923dfc5d872960e5e",
"message": "Add progress tracker and suppress default TTS command-line outputs (part 2).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-18T15:24:55Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-18T15:24:55Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning/find_best_cloned_model.py",
"additions": 42,
"deletions": 22,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/find_best_multispeaker_model.py",
"additions": 46,
"deletions": 31,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,130 @@
{
"number": 22,
"title": "Dev cpu only",
"body": "CPU-only processing support (tested)",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/22",
"createdAt": "2023-07-25T09:44:12Z",
"mergedAt": "2023-07-25T09:44:26Z",
"closedAt": "2023-07-25T09:44:26Z",
"additions": 604,
"deletions": 28,
"changedFiles": 8,
"isDraft": false,
"baseRefName": "develop",
"headRefName": "dev-cpu-only",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_unknown"
},
"mergeCommit": {
"oid": "19894f8d753f8b5ecf7fb8ee756b63c4498f0fe9"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "31234863f06285dcb88732cff5eead330ab852ad",
"message": "Minor improvements to support CPU-only processing.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T07:52:47Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T07:52:47Z"
}
}
},
{
"commit": {
"oid": "c96dccfb58c49186ee21c4fb24eff96302b35ecf",
"message": "Added more usage examples and necessary Coqui.ai TTS changes.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T09:43:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T09:43:09Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "requirements.prod.cpu.txt",
"additions": 3,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice_via_continue.py",
"additions": 3,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide_-_CPU_only.md",
"additions": 578,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/find_best_cloned_model.py",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/find_best_multispeaker_model.py",
"additions": 4,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/prepare_datasets.py",
"additions": 5,
"deletions": 6,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/score_cloned_voice.py",
"additions": 3,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 6,
"deletions": 6,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,948 @@
{
"number": 23,
"title": "Develop",
"body": "Support of 48k Hz sampling rate as default; GPU and CPU-based usage for all scripts but baseline training run.\r\n\r\nSee voice-cloning/docs/Voice\\ Cloning\\ @\\ 48k\\ Hz\\ Sampling\\ Rate\\ -\\ Step-by-Step.txt for example usage.\r\n\r\nModel assets can be found at s3://potion-ai-models/potion-voice-2023-08/",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/23",
"createdAt": "2023-08-07T06:58:31Z",
"mergedAt": "2023-09-25T07:15:56Z",
"closedAt": "2023-09-25T07:15:56Z",
"additions": 4121,
"deletions": 180,
"changedFiles": 27,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "develop",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "8d62d38e524bfc62be0b6ac0ebca155ec2c4dda7"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 46,
"nodes": [
{
"commit": {
"oid": "6caecc390d8da5c2a0e1028ef5a477a25d0af9b5",
"message": "Switch to 48k as default sampling rate; disable mixed_precision due to possible min()/max() runtime error.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-30T11:29:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-30T11:29:26Z"
}
}
},
{
"commit": {
"oid": "f456697d843e83a34b1b5c192ced548bd10ae9d5",
"message": "Add progress tracker and suppress default TTS command-line outputs.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-17T08:32:37Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-17T08:32:37Z"
}
}
},
{
"commit": {
"oid": "dacf5b23d8581e816104868923dfc5d872960e5e",
"message": "Add progress tracker and suppress default TTS command-line outputs (part 2).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-18T15:24:55Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-18T15:24:55Z"
}
}
},
{
"commit": {
"oid": "a6639dbbae3c7920b312b5077aea4a9b42c18e1e",
"message": "Merge pull request #21 from potion/dev-find-best-fixup\n\nDev find best fixup",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-21T05:14:54Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-21T05:14:54Z"
}
}
},
{
"commit": {
"oid": "31234863f06285dcb88732cff5eead330ab852ad",
"message": "Minor improvements to support CPU-only processing.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T07:52:47Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T07:52:47Z"
}
}
},
{
"commit": {
"oid": "c96dccfb58c49186ee21c4fb24eff96302b35ecf",
"message": "Added more usage examples and necessary Coqui.ai TTS changes.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T09:43:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T09:43:09Z"
}
}
},
{
"commit": {
"oid": "19894f8d753f8b5ecf7fb8ee756b63c4498f0fe9",
"message": "Merge pull request #22 from potion/dev-cpu-only\n\nDev cpu only",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T09:44:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-25T09:44:26Z"
}
}
},
{
"commit": {
"oid": "2fde687781a036630ad65a1b6438f2bd2fe860c8",
"message": "Updated requirements: git clone --depth 1 --branch v0.16.0 https://github.com/coqui-ai/TTS onwards addresses the CPU-only processing issues.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T07:45:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T07:45:02Z"
}
}
},
{
"commit": {
"oid": "5f74690d758f047d1aa24f03b72dd242cfdf9c14",
"message": "Efficiency improvements: Rearranged loop order and removed re-init of speaker mgr and vocoder.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T16:42:56Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T16:42:56Z"
}
}
},
{
"commit": {
"oid": "4b83dcd2b33940fb67aa0a2ea726e5f4825709af",
"message": "Moved tqdm to outermost loop.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T16:49:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T16:49:29Z"
}
}
},
{
"commit": {
"oid": "ff2efad2181eef60c95855a26a346db3a241ac33",
"message": "Efficiency improvement: Removed re-init of vocoder.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T16:58:54Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-26T16:58:54Z"
}
}
},
{
"commit": {
"oid": "bfab4e52d152e1c1adb5127d8c52e57e5926d6f2",
"message": "Enable use_speaker_encoder_as_loss byu default.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-27T08:45:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-27T08:45:46Z"
}
}
},
{
"commit": {
"oid": "c4f0738615226b541c2728d8b518c1bb8f422e59",
"message": "Disable use_speaker_encoder_as_loss until we have a 48k speaker encoder.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-27T10:14:48Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-07-27T10:14:48Z"
}
}
},
{
"commit": {
"oid": "ebc3aabb5b47b92667f5cf38c6ad3eabe927c29b",
"message": "Efficiency improvements: re-use config and speaker embeddings when multiple models are evaluated.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-01T05:19:00Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-01T05:19:00Z"
}
}
},
{
"commit": {
"oid": "efe67a3be7ab363098a6ac11a868c84db8401942",
"message": "Bug fix: removed unnecessary argument.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-01T05:51:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-01T05:51:24Z"
}
}
},
{
"commit": {
"oid": "9c25385822430a0be1b517eba819fe45598b9a22",
"message": "No more need to suppress cmd output; fix remove silence bug; code readability improvements; better error handling.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T04:12:11Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T04:12:11Z"
}
}
},
{
"commit": {
"oid": "b861f6e7ca39117ce9d9d115dea10efd0b9382ad",
"message": "Fixed Vits config & model imports / typing references.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T05:20:28Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T05:20:28Z"
}
}
},
{
"commit": {
"oid": "24db1203681e633095501ad987fb7de61acbe1bf",
"message": "Fixed error handling for speaker embeddings.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T05:28:06Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T05:28:06Z"
}
}
},
{
"commit": {
"oid": "a9aa70cd38e28c26b9ea9cf3a142607733b5355e",
"message": "Typing improvements; trim_silence improvements.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T06:58:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T06:58:39Z"
}
}
},
{
"commit": {
"oid": "5a9113804a0762d4c926a5df9b56cd9cde09681d",
"message": "Testing alternative sim_score routine.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T09:10:37Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T09:10:37Z"
}
}
},
{
"commit": {
"oid": "9d937c7020d4fb2f71873beac200e12db77e2863",
"message": "Improved speaker similarity scoring approach.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T09:59:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T09:59:09Z"
}
}
},
{
"commit": {
"oid": "e81db101ed94eca0a634b16bbe0dc27f40ceb81e",
"message": "Remove scoring test import.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T10:05:18Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T10:05:18Z"
}
}
},
{
"commit": {
"oid": "5b551ce70ad459b64a9cdd2ce491a8d7740c44b0",
"message": "Fix ValueError issue.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T11:09:13Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T11:09:13Z"
}
}
},
{
"commit": {
"oid": "77fb20ca06b2f8b76285d6eefe662def5c92301b",
"message": "Add unload model (clean-up) routine; code readibility improvements.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T16:54:23Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-02T16:54:23Z"
}
}
},
{
"commit": {
"oid": "afdf4cfd7cc0cf90710a2e602327db45d6a87088",
"message": "Add unload model (clean-up) routine.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-03T01:42:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-03T01:42:31Z"
}
}
},
{
"commit": {
"oid": "60c8b4fe11e23740c4887cd8b5740b49eb63c806",
"message": "Switching to 48k HZ sampling rate by default.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T01:07:45Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T01:07:45Z"
}
}
},
{
"commit": {
"oid": "e47841f80c1e73ac33abbc161504782c3b06959b",
"message": "sampling_rate check fixes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T01:28:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T01:28:27Z"
}
}
},
{
"commit": {
"oid": "f98ad3fa51ed45847377d0d648c63868c2c990c6",
"message": "Support minimise call for multiple models (i.e., skip saving / overwritting minimised config).",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T04:55:43Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T04:55:43Z"
}
}
},
{
"commit": {
"oid": "a4d002539ad67e0667e6642293123793d7b72a34",
"message": "Refreshed documentation to reflect 48k sampling rate setup and usage.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T06:52:42Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T06:52:42Z"
}
}
},
{
"commit": {
"oid": "a92f32ac694e18e19b2676847387a215d05e01ea",
"message": "Merge branch 'staging' into develop-07-08",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:03:54Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:03:54Z"
}
}
},
{
"commit": {
"oid": "1bd4b8d3039d8a1e2ac02476bec235da829c5b5c",
"message": "Merge branch 'staging' into develop-07-08",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:05:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:05:02Z"
}
}
},
{
"commit": {
"oid": "75e78312e8d92560c335f640248bef88e37ddcf7",
"message": "Merge pull request #24 from potion/develop-07-08\n\nDevelop 07 08 code updates",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:08:05Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:08:05Z"
}
}
},
{
"commit": {
"oid": "a3afe89e0e4289c33044e3b9401a5d0bda2be401",
"message": "Added code for cloning script",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:20:41Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:20:41Z"
}
}
},
{
"commit": {
"oid": "1c59012333173eba76cec6325608024beb1a669a",
"message": "Merge pull request #25 from potion/develop-07-08-updates\n\nAdded code for cloning script",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:21:18Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:21:18Z"
}
}
},
{
"commit": {
"oid": "ea4608475587cea4615a4980bc767708a186d57e",
"message": "Added changes for sr 48000",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T10:17:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T10:17:58Z"
}
}
},
{
"commit": {
"oid": "6defbb0bb874390f1b1b51b1e20355890c530493",
"message": "Merge pull request #26 from potion/develop-07-08-updates\n\nAdded changes for sr 48000",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T10:19:55Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T10:19:55Z"
}
}
},
{
"commit": {
"oid": "bb152205ade80927946b88008109f106107af8f9",
"message": "Extended similarity scoring approach to also includde naturalness assessment.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-13T16:09:30Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-13T16:09:30Z"
}
}
},
{
"commit": {
"oid": "34740bd2d5daf5411c3fd51dd81125c3e2ee2a12",
"message": "Merge branch 'develop' of https://github.com/potion/potion-voice into develop",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-13T16:11:05Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-13T16:11:05Z"
}
}
},
{
"commit": {
"oid": "9527d33af85af9dae620cdf2fb6e462c50c9979e",
"message": "Bug fix: Wrong path used for synth samples.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T01:04:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T01:04:16Z"
}
}
},
{
"commit": {
"oid": "49a20a14ab518f005305c22e14bdfe4efab2d7cf",
"message": "Added naturalness score to find_best_cloned_model; improved comments.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T07:52:52Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T07:52:52Z"
}
}
},
{
"commit": {
"oid": "9703a12253c7e870079654776d8458a06725c71c",
"message": "Bug fix: init quality score correction",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T07:55:21Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T07:55:21Z"
}
}
},
{
"commit": {
"oid": "1021bd8bd93694350d66caf9ee7e6c03d2e4b1d9",
"message": "voice quality score redefined: 3/4 sim_scoe and 1/4 nat_score.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T14:34:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-14T14:34:46Z"
}
}
},
{
"commit": {
"oid": "789d1bc6777f274153b00a071e62cee7b689ae40",
"message": "Readying updated scoring approach for staging.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T05:18:03Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T05:18:03Z"
}
}
},
{
"commit": {
"oid": "313d2bda3895b0de175b9692d0148c0f257d3f1c",
"message": "Bug fix: Adjust to prev name change of init_synth argument.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T05:23:51Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T05:23:51Z"
}
}
},
{
"commit": {
"oid": "5233e2e6e3655d3f5f77dd1abf23a482d7c3975e",
"message": "Init fixup; improved comments.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T05:52:22Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T05:52:22Z"
}
}
},
{
"commit": {
"oid": "acbc3c99460ab52b1d5e6cd8bbf92dfe1062fdfe",
"message": "Improved wording for console-based output.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T07:40:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-09-18T07:40:39Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": ".gitignore",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "requirements.dev.local.txt",
"additions": 6,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "requirements.dev.txt",
"additions": 9,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "requirements.prod.cpu.txt",
"additions": 9,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "requirements.prod.gpu.txt",
"additions": 6,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "requirements.txt",
"additions": 6,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/index.js",
"additions": 3,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice.py",
"additions": 14,
"deletions": 12,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice_via_continue.py",
"additions": 6,
"deletions": 5,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/docs/Voice Cloning @ 48k Hz Sampling Rate - Step-by-Step.txt",
"additions": 183,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 20,
"deletions": 6,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide_-_CPU_only.md",
"additions": 539,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/find_best_cloned_model.py",
"additions": 58,
"deletions": 24,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/find_best_multispeaker_model.py",
"additions": 77,
"deletions": 37,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/minimize_cloned_voice_model.py",
"additions": 7,
"deletions": 3,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/prepare_datasets.py",
"additions": 5,
"deletions": 6,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/score_cloned_voice.py",
"additions": 18,
"deletions": 10,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 29,
"deletions": 18,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 32,
"deletions": 24,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/utils/NISQA/LICENSE",
"additions": 21,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/NISQA/LICENSE_model_weights",
"additions": 437,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/NISQA/NISQA_lib.py",
"additions": 2170,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/NISQA/NISQA_model.py",
"additions": 238,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/NISQA/nisqa_tts.tar",
"additions": 0,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/misc_utils.py",
"additions": 38,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/scoring_utils.py",
"additions": 98,
"deletions": 9,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/utils/synthesize_utils.py",
"additions": 90,
"deletions": 15,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,298 @@
{
"number": 24,
"title": "Develop 07 08 code updates",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/24",
"createdAt": "2023-08-07T08:05:54Z",
"mergedAt": "2023-08-07T08:08:05Z",
"closedAt": "2023-08-07T08:08:05Z",
"additions": 182,
"deletions": 91,
"changedFiles": 4,
"isDraft": false,
"baseRefName": "develop",
"headRefName": "develop-07-08",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "75e78312e8d92560c335f640248bef88e37ddcf7"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 14,
"nodes": [
{
"commit": {
"oid": "94b4cbeb8e5863366512cbcc413a4a99817bef3d",
"message": "Changed version of python package",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:11:56Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:11:56Z"
}
}
},
{
"commit": {
"oid": "b254ec4c2842e34c4fb8a807655330916114ea45",
"message": "Added code for new changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:30:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T14:30:27Z"
}
}
},
{
"commit": {
"oid": "d95cae5242691b67688cad0077d0eef1ccf89fb2",
"message": "Added changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T15:00:59Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-03T15:00:59Z"
}
}
},
{
"commit": {
"oid": "0d7dc5354f866e849645692cd8af93ddd47a624c",
"message": "Added changes for synthesizer",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:02:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:02:16Z"
}
}
},
{
"commit": {
"oid": "219835c25c561b6d6f964c3ac533e2481b483c94",
"message": "Added change",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:10:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:10:09Z"
}
}
},
{
"commit": {
"oid": "58d0c83a2b2525967598d0915d374937e7dfd416",
"message": "Added path change",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:19:08Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-06T18:19:08Z"
}
}
},
{
"commit": {
"oid": "54efcabc34b82b156ab06a0beab0f895d4c7edd0",
"message": "Merge pull request #18 from potion/develop\n\nRefined voice cloning settings",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-21T10:58:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-21T10:58:16Z"
}
}
},
{
"commit": {
"oid": "5cb69b8e41743b1b5f7f66e65ea15ff64a0ea945",
"message": "Added changes for not to save the salutation to global",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:51:40Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:51:40Z"
}
}
},
{
"commit": {
"oid": "58f4b9346d1918f2f83ae249035c8e93d326046c",
"message": "Merge branch 'staging' into update-voice-clone-23-05",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:52:23Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T03:52:23Z"
}
}
},
{
"commit": {
"oid": "8aeccc682363a55001fbdb9ec67c861cfb6a8b63",
"message": "Added code for deleting directory",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:15:47Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:15:47Z"
}
}
},
{
"commit": {
"oid": "e5f6efbb72902997353580ee56b7893c64452165",
"message": "Added delete code for template",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:32:35Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-22T04:32:35Z"
}
}
},
{
"commit": {
"oid": "6d89d4f3c84b1f743d93d3b1f6cf70472e1866e5",
"message": "Merge pull request #19 from potion/update-voice-clone-23-05\n\nUpdate voice clone 23 05",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-27T04:50:28Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-06-27T04:50:28Z"
}
}
},
{
"commit": {
"oid": "a92f32ac694e18e19b2676847387a215d05e01ea",
"message": "Merge branch 'staging' into develop-07-08",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:03:54Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:03:54Z"
}
}
},
{
"commit": {
"oid": "1bd4b8d3039d8a1e2ac02476bec235da829c5b5c",
"message": "Merge branch 'staging' into develop-07-08",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:05:02Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:05:02Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 3,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 170,
"deletions": 89,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-development.yml",
"additions": 5,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-production.yml",
"additions": 4,
"deletions": 0,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,72 @@
{
"number": 25,
"title": "Added code for cloning script",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/25",
"createdAt": "2023-08-07T08:21:11Z",
"mergedAt": "2023-08-07T08:21:18Z",
"closedAt": "2023-08-07T08:21:18Z",
"additions": 2,
"deletions": 2,
"changedFiles": 1,
"isDraft": false,
"baseRefName": "develop",
"headRefName": "develop-07-08-updates",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "1c59012333173eba76cec6325608024beb1a669a"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "a3afe89e0e4289c33044e3b9401a5d0bda2be401",
"message": "Added code for cloning script",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:20:41Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T08:20:41Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,72 @@
{
"number": 26,
"title": "Added changes for sr 48000",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/26",
"createdAt": "2023-08-07T10:19:45Z",
"mergedAt": "2023-08-07T10:19:55Z",
"closedAt": "2023-08-07T10:19:55Z",
"additions": 1,
"deletions": 1,
"changedFiles": 1,
"isDraft": false,
"baseRefName": "develop",
"headRefName": "develop-07-08-updates",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "6defbb0bb874390f1b1b51b1e20355890c530493"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "ea4608475587cea4615a4980bc767708a186d57e",
"message": "Added changes for sr 48000",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T10:17:46Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-08-07T10:17:58Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,76 @@
{
"number": 27,
"title": "updated model name",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/27",
"createdAt": "2023-10-11T20:46:31Z",
"mergedAt": "2023-10-11T20:47:05Z",
"closedAt": "2023-10-11T20:47:05Z",
"additions": 2,
"deletions": 2,
"changedFiles": 1,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "develop",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_7"
},
"mergeCommit": {
"oid": "7fdfc74c03cab06856eff2fac1ec470f40eb64ad"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": [
{
"login": "author_6"
}
]
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "040f8565569ff7d324db918f17e5aabfb15ba4ca",
"message": "updated model name",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-10-11T20:36:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-10-11T20:36:39Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,508 @@
{
"number": 28,
"title": "GCP support, upgraded TTS, new model with cleaner data",
"body": "",
"state": "OPEN",
"url": "https://github.com/potion/potion-voice/pull/28",
"createdAt": "2023-11-29T07:42:08Z",
"mergedAt": null,
"closedAt": null,
"additions": 1816,
"deletions": 283,
"changedFiles": 15,
"isDraft": false,
"baseRefName": "staging",
"headRefName": "develop",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": ""
},
"mergeCommit": {
"oid": "8615798d7f85f3f29ce99973f97bd9071f76f05b"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 23,
"nodes": [
{
"commit": {
"oid": "ad31e02f2a39af5e40fbefe30483e5d8119346b4",
"message": "Added GCP support details and revised config settings for 48k Hz sampling rate usage with TTS v0.20.6",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-11-23T08:45:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-11-23T08:45:24Z"
}
}
},
{
"commit": {
"oid": "c41b76ff84f69f00ebfdb1bfbea6c40b0c2529bd",
"message": "Richer config settings (added sampling rate-based configs) and updated training settings.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-19T08:36:49Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-19T08:36:49Z"
}
}
},
{
"commit": {
"oid": "fdf7496764cff1f7f754175b121d1eec5fce285b",
"message": "Improved error handling and robustness; added support for FLAC files - VCTK v0.92 preprocessing.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T08:00:56Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T08:00:56Z"
}
}
},
{
"commit": {
"oid": "55886541d20ef9be247610cf616f0167842ca8de",
"message": "Add support for 24k sampling rate.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T08:33:31Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T08:33:31Z"
}
}
},
{
"commit": {
"oid": "bf4d4c9b215894810755bcd9deb1d6a980c408cc",
"message": "Improved for directory name in extract_archive",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T09:08:51Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T09:08:51Z"
}
}
},
{
"commit": {
"oid": "90bf857da5add6b341a5514d13bc2a144b8a542c",
"message": "Bug fix in extract_archive",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T09:35:56Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T09:35:56Z"
}
}
},
{
"commit": {
"oid": "cd968b26a2214cb241a4b660f80c360493a38493",
"message": "Support VCTK v0.92 _mic[12] naming convention.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T12:43:27Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T12:43:27Z"
}
}
},
{
"commit": {
"oid": "c5abb3269df3c7e4d828ba019907ac0356349fd3",
"message": "Rename wav_dir to audio_dir and correct function call arguments.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T13:58:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T13:58:09Z"
}
}
},
{
"commit": {
"oid": "334aef03182d954606bf2dd6907a30f380ecc0dd",
"message": "Verify that after extraction the dataset root and its audio and transcription file directories are identified correctly.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T15:31:18Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T15:31:18Z"
}
}
},
{
"commit": {
"oid": "41fa5ff5a72366fb7466445c79dad5c8fd5ec598",
"message": "Improved quality assurance: Ensure that each speaker had transcriptions with matching audio files and vice versa.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T17:32:04Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2023-12-27T17:32:04Z"
}
}
},
{
"commit": {
"oid": "2e33a79e0465e5fb13f22b6fee2e1f54178860d9",
"message": "fixups and added support for training merged, VCTK-formatted datasets.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T03:26:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T03:26:07Z"
}
}
},
{
"commit": {
"oid": "b0a3c294729107b780d941dfc4d0930b055b187c",
"message": "Added support for training merged, VCTK-formatted datasets.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T03:26:37Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T03:26:37Z"
}
}
},
{
"commit": {
"oid": "2d7adac5070bd308eba84c7dc193b6c5b5effaa2",
"message": "New cloning approach with termination condition based on speaker similarity and voice naturalness scores.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T03:27:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T03:27:39Z"
}
}
},
{
"commit": {
"oid": "6161686a58dd16505b59107c406ff759eaf02e71",
"message": "Added minimum scoring thresholds for speaker similarity and naturalness; updated scoring parameters.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T06:28:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T06:28:07Z"
}
}
},
{
"commit": {
"oid": "665fadf062511880abfae5b1f1b2bbf1d15d0a8f",
"message": "Skip checkpoint scoring iff keyboard interrupt.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T08:12:42Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-10T08:12:42Z"
}
}
},
{
"commit": {
"oid": "3a03db620469cf6603b49cabe1201a22bf81775e",
"message": "Expand pattern to also pick up best_simnat_checkpoint_*.pth checkpoint files.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-11T09:50:30Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-11T09:50:30Z"
}
}
},
{
"commit": {
"oid": "b22f1051bb3374bc969e3962740a3610266f2928",
"message": "48k Voice cloning documentation now based on clone_voice_via_continue_n_natqa.py; adjusted default cloning parameters.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-11T17:34:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-11T17:34:07Z"
}
}
},
{
"commit": {
"oid": "2c34903fe6b62551fb5d6844af78a0da1eb3cdb6",
"message": "find_best_cloned_model.py now also checks for minimum quality nat & sim scores; returns None for best_model if they are not met.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-12T10:30:52Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-12T10:30:52Z"
}
}
},
{
"commit": {
"oid": "75e92b2b887e3f0ccf8ea4a5c536883d4b6e2570",
"message": "Add support for training speaker encoder model at 16k and 48k sampling rates.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-28T16:06:30Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-28T16:06:30Z"
}
}
},
{
"commit": {
"oid": "7241466763630caf6febb9ea620211b2dcdb1bd7",
"message": "Bug fix: add use_cuda parameters whenever required",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-29T09:30:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-29T09:30:17Z"
}
}
},
{
"commit": {
"oid": "530ff4c8e7bc89d6205cf43d7ccd13bd13c5124e",
"message": "Init logger if None is given.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-29T12:51:00Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-29T12:51:00Z"
}
}
},
{
"commit": {
"oid": "38e981c51b9232c6e441d96c2901167f43d7ce0b",
"message": "Evaluation parameter passing fix.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-29T17:43:33Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-29T17:43:33Z"
}
}
},
{
"commit": {
"oid": "85eddfd84d8f6c79ba99010fa82148641c97970f",
"message": "Bug fix: Eval routine output init missing.",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-30T01:53:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2024-01-30T01:53:17Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning/clone_voice_via_continue.py",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/clone_voice_via_continue_n_natqa.py",
"additions": 291,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/docs/Voice Cloning @ 48k Hz Sampling Rate - Step-by-Step.txt",
"additions": 62,
"deletions": 57,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/docs/potion-voice-cloning_Installation_Guide.md",
"additions": 20,
"deletions": 50,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/find_best_cloned_model.py",
"additions": 23,
"deletions": 11,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/find_best_multispeaker_model.py",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/prepare_datasets.py",
"additions": 262,
"deletions": 88,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/save_multispeaker_baseline_embeddings_file.py",
"additions": 11,
"deletions": 4,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/synthesize_speech.py",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_config.py",
"additions": 101,
"deletions": 46,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 44,
"deletions": 23,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_speaker_encoder.py",
"additions": 181,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/scoring_utils.py",
"additions": 78,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/utils/speaker_encoder_utils.py",
"additions": 389,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/utils/trainer_utils.py",
"additions": 351,
"deletions": 0,
"changeType": "ADDED"
}
]
}
}

View File

@@ -0,0 +1,78 @@
{
"number": 3,
"title": "Further coquai/TTS v0.6.2 compatibiliuty changes",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/3",
"createdAt": "2022-04-21T14:56:26Z",
"mergedAt": "2022-04-21T14:56:32Z",
"closedAt": "2022-04-21T14:56:32Z",
"additions": 2,
"deletions": 2,
"changedFiles": 2,
"isDraft": false,
"baseRefName": "main",
"headRefName": "initialCommit",
"author": {
"login": "author_unknown"
},
"mergedBy": {
"login": "author_unknown"
},
"mergeCommit": {
"oid": "113758f7434d36f7d090959adb5430abd2d1159e"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "c81a01c209362a2a4e092e2e1cb848a9e14eddfa",
"message": "Further coquai/TTS v0.6.2 compatibiliuty changes",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T14:55:40Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-21T14:55:40Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning/clone_voice.py",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning/train_multispeaker_baseline_model.py",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,930 @@
{
"number": 4,
"title": "Feature 4023 voice clone handler",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/4",
"createdAt": "2022-06-06T15:36:08Z",
"mergedAt": "2022-07-19T07:21:41Z",
"closedAt": "2022-07-19T07:21:41Z",
"additions": 6450,
"deletions": 2,
"changedFiles": 40,
"isDraft": false,
"baseRefName": "main",
"headRefName": "feature-4023-voice-clone-handler",
"author": {
"login": "author_6"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "198aadfae502ee2c24eb4d32a93439e47067f9ff"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 40,
"nodes": [
{
"commit": {
"oid": "485e9915301bf4fe864029b0b2a391f0d2339d29",
"message": "Updated git ignore file",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-27T21:49:22Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-27T21:49:22Z"
}
}
},
{
"commit": {
"oid": "1f70cf87c2c13455add0c56af95ab5a2211e7942",
"message": "Added base code for voice cloning",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-27T21:51:05Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-04-27T21:51:05Z"
}
}
},
{
"commit": {
"oid": "9133eb39182721fd3847d97bd656a10b6346b4d0",
"message": "Added code for db update and status update",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T18:39:00Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T18:39:00Z"
}
}
},
{
"commit": {
"oid": "8478a51640fc5744711c183ba5aabb6ed3cf1d55",
"message": "Added salutation service and imported s3 model",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T18:44:39Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T18:44:39Z"
}
}
},
{
"commit": {
"oid": "0878a129ce1f7fb77085ddbe018ccb6424bc11d2",
"message": "Updated the sqs code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T19:00:24Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T19:00:24Z"
}
}
},
{
"commit": {
"oid": "d6a2d6c761b94a758f9e2d0f03a759da5be52fd5",
"message": "Added code for voice synthesizer",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T19:25:03Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-10T19:25:03Z"
}
}
},
{
"commit": {
"oid": "79bf6fde2abfd7063bc3a1ff1c2dce5b42e8eada",
"message": "Added code for db connect",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:34:15Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:34:15Z"
}
}
},
{
"commit": {
"oid": "d5c037a7257f39ba1767b5b0ac6ec18b8c34ea92",
"message": "Updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:39:32Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:39:32Z"
}
}
},
{
"commit": {
"oid": "569a2484dabd73b7a1b812540f8723bb8423fb01",
"message": "Updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:46:35Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:46:35Z"
}
}
},
{
"commit": {
"oid": "d6a1af1063e12d9b073163a4296dd9f04546d535",
"message": "Updated command",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:59:30Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T10:59:30Z"
}
}
},
{
"commit": {
"oid": "84e63f580b72956a97c27fa6d9d41d6a147991a5",
"message": "fixed bug",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T17:50:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T17:50:16Z"
}
}
},
{
"commit": {
"oid": "f726bf5cb38d0da590f51468b0ce3be275e17c88",
"message": "Added changes for log utils",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T17:59:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T17:59:29Z"
}
}
},
{
"commit": {
"oid": "3271a7075ae1b1734faad3fe4cdc45fffffd3a3e",
"message": "Updated the logger object usage",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T18:06:41Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-12T18:06:41Z"
}
}
},
{
"commit": {
"oid": "35cf55c62186b425fc6380706d36967ed714a57d",
"message": "fixed db issue",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-25T06:50:15Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-25T06:50:15Z"
}
}
},
{
"commit": {
"oid": "ee5e43fde5d3217a84182e770bda73db245df17e",
"message": "fixed issues",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-25T07:35:50Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-25T07:35:50Z"
}
}
},
{
"commit": {
"oid": "b73ef06d9d983567a6ec4e7c5d930631db22cb26",
"message": "Fixed python training model commond",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T11:30:33Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T11:30:33Z"
}
}
},
{
"commit": {
"oid": "45c85a0a69247e9fd0eea8ceafa032daecc590da",
"message": "Added code for s3 upload and db update",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T14:33:40Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T14:33:40Z"
}
}
},
{
"commit": {
"oid": "172fea390bc6ea626366a836989135c121249338",
"message": "Added changes for s3 upload",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T15:11:52Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T15:11:52Z"
}
}
},
{
"commit": {
"oid": "b3447c5db4ae841d7f867f7f85583f309f722713",
"message": "Added changes to s3",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T15:12:29Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T15:12:29Z"
}
}
},
{
"commit": {
"oid": "f9ad756321d6e58e2a3258787718b7acfee5d16e",
"message": "Added change for path",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T15:19:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-26T15:19:26Z"
}
}
},
{
"commit": {
"oid": "985d130ef5c87bc7ea7c04b0338e7edbd71eae18",
"message": "Merge branch 'main' into feature-4023-voice-clone-handler",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T15:31:09Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T15:31:09Z"
}
}
},
{
"commit": {
"oid": "d8e350c29929c2ec7b9a459d5174d342a2b92da5",
"message": "Added job and audio profile model and service",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T15:53:25Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T15:53:25Z"
}
}
},
{
"commit": {
"oid": "96a23f61aa14fce790f9f6a6b8b6182507751ee2",
"message": "Added salutation service code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T17:48:36Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T17:48:36Z"
}
}
},
{
"commit": {
"oid": "c6643bbcd640ef3ee75ef3dc537dd8ecfcfb464e",
"message": "Addded changes to code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:27:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:27:16Z"
}
}
},
{
"commit": {
"oid": "606d7c440b074fae8bd266d57a7c21774e9b9134",
"message": "updated the code for db connect",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:29:33Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:29:33Z"
}
}
},
{
"commit": {
"oid": "ba9f860ccc95288513f0e3b82ee9e1cf712320c8",
"message": "Updated bucket name",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:31:49Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:31:49Z"
}
}
},
{
"commit": {
"oid": "38f4bca91eb38b2b7f5e610b389a7dff982b8aa0",
"message": "Updated buffer size for stdout on exec",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:36:18Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:36:18Z"
}
}
},
{
"commit": {
"oid": "b6037e00b8b74fb44b94f2dd26f4a3788b8183dc",
"message": "Added db connection code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:44:23Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:44:23Z"
}
}
},
{
"commit": {
"oid": "6af84e64003d73e00786dd26cfeb8fa876d9f1fc",
"message": "Added code update",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:46:16Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-05-31T18:46:16Z"
}
}
},
{
"commit": {
"oid": "887337ec5173ddb4cda763cc45e6622671e8a490",
"message": "Merge branch 'main' into feature-4023-voice-clone-handler",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-06T15:39:00Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-06T15:39:00Z"
}
}
},
{
"commit": {
"oid": "b66a19b55110a5e3e9f72ae1ef75644328274067",
"message": "changed the pretrained module path argument",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-06T15:43:53Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-06T15:43:53Z"
}
}
},
{
"commit": {
"oid": "9805441c5ad0b6560ba2fb4aa1357f0769006a7b",
"message": "fixed python base module path argument issue",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-06T15:54:17Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-06T15:54:17Z"
}
}
},
{
"commit": {
"oid": "86f768692f5e5b445ba54089afadfbe8f914a10e",
"message": "fixed python base module path argument issue",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T05:30:15Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T05:30:15Z"
}
}
},
{
"commit": {
"oid": "4a5876b26b1c29de26f223638cc2859882d9fe3c",
"message": "fixed python command new line issue",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T05:37:32Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T05:37:32Z"
}
}
},
{
"commit": {
"oid": "fb0aa3ab3404abf9cd464cac1bda8842f4d6a231",
"message": "fixed issues",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T06:42:40Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T06:42:40Z"
}
}
},
{
"commit": {
"oid": "c6c7d126c8ac1a519fd3033824ff493175369f6e",
"message": "Merge branch 'feature-4023-voice-clone-handler' of https://github.com/potion/potion-voice into feature-4023-voice-clone-handler",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T06:43:11Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T06:43:11Z"
}
}
},
{
"commit": {
"oid": "c18611d1a1851acade764fe9ba248aee9163a02c",
"message": "pm2 added name of process to avoid conflicts",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T06:51:21Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T06:51:21Z"
}
}
},
{
"commit": {
"oid": "c6d8567b362782f065103c0adaa93dc37323c5cc",
"message": "Update clone_voice.py",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T07:06:42Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T07:06:42Z"
}
}
},
{
"commit": {
"oid": "7bb3ad322186b5ea1e815c827971e2894921352f",
"message": "Fixed error for userId",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T09:45:07Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T09:45:15Z"
}
}
},
{
"commit": {
"oid": "1b1f50404b5b2ec6d019db0de574b35a5231fef2",
"message": "Added fix for unlink",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T09:56:55Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-06-07T09:56:58Z"
}
}
}
]
},
"reviews": {
"nodes": []
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": ".gitignore",
"additions": 25,
"deletions": 0,
"changeType": "MODIFIED"
},
{
"path": "app/services/s3/index.js",
"additions": 61,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/s3/s3_service.js",
"additions": 0,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/sqs/index.js",
"additions": 6,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/sqs/sqs_service.js",
"additions": 83,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/utils/bugsnag.js",
"additions": 18,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/utils/deleteFile.js",
"additions": 9,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/utils/index.js",
"additions": 19,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/utils/logService.js",
"additions": 14,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/voice_cloning/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/voice_cloning/voice_cloning_model.js",
"additions": 44,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "app/services/voice_cloning/voice_cloning_service.js",
"additions": 140,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "package-lock.json",
"additions": 1782,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "package.json",
"additions": 21,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/index.js",
"additions": 263,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/package-lock.json",
"additions": 1782,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/package.json",
"additions": 24,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 15,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/user_audio_profile/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/user_audio_profile/user_audio_profile_model.js",
"additions": 40,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/user_audio_profile/user_audio_profile_service.js",
"additions": 142,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/voice_cloning/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/voice_cloning/voice_cloning_model.js",
"additions": 44,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning-job-handler/voice_cloning/voice_cloning_service.js",
"additions": 143,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-cloning/clone_voice.py",
"additions": 4,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 269,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/job/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/job/job_model.js",
"additions": 54,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/job/job_service.js",
"additions": 136,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/package-lock.json",
"additions": 528,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/package.json",
"additions": 23,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/pm2-development.yml",
"additions": 14,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/recording/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/recording/recording_model.js",
"additions": 406,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/salutation/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/salutation/salutation_model.js",
"additions": 44,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/salutation/salutation_service.js",
"additions": 87,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/user_audio_profile/index.js",
"additions": 4,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/user_audio_profile/user_audio_profile_model.js",
"additions": 40,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/user_audio_profile/user_audio_profile_service.js",
"additions": 142,
"deletions": 0,
"changeType": "ADDED"
}
]
}
}

View File

@@ -0,0 +1,85 @@
{
"number": 5,
"title": "Added the filename fix",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/5",
"createdAt": "2022-07-25T08:52:45Z",
"mergedAt": "2022-08-02T05:49:56Z",
"closedAt": "2022-08-02T05:49:56Z",
"additions": 8,
"deletions": 2,
"changedFiles": 1,
"isDraft": false,
"baseRefName": "main",
"headRefName": "hotfix-update-filename",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "cd472f8ee9a500461672acece889b02bb3a8e84f"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "470e8e7b3012a7e39755f8e3e9de3eb0a257406a",
"message": "Added the filename fix",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-07-25T08:52:19Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-07-25T08:52:19Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2022-08-02T05:49:50Z",
"url": "https://github.com/potion/potion-voice/pull/5#pullrequestreview-1058152207",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 8,
"deletions": 2,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,97 @@
{
"number": 6,
"title": "Updated the cloud front access and code",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/6",
"createdAt": "2022-11-29T13:22:59Z",
"mergedAt": "2022-11-29T13:35:23Z",
"closedAt": "2022-11-29T13:35:23Z",
"additions": 26,
"deletions": 3,
"changedFiles": 3,
"isDraft": false,
"baseRefName": "main",
"headRefName": "fix-bucket-access-for-sentences",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "5e5907f8b9099f4b51212ea2b4615cc2b48f3dc8"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "972fa9e89c08cbd799230eab43b80c9a7f80f0ce",
"message": "Updated the cloudfront access and code",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-11-29T13:22:35Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-11-29T13:22:35Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2022-11-29T13:35:16Z",
"url": "https://github.com/potion/potion-voice/pull/6#pullrequestreview-1197567560",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/index.js",
"additions": 18,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 4,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-production.yml",
"additions": 4,
"deletions": 1,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,91 @@
{
"number": 7,
"title": "Added change in yml file",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/7",
"createdAt": "2022-11-29T14:51:46Z",
"mergedAt": "2022-11-29T14:52:47Z",
"closedAt": "2022-11-29T14:52:47Z",
"additions": 2,
"deletions": 2,
"changedFiles": 2,
"isDraft": false,
"baseRefName": "main",
"headRefName": "fix-bucket-access-for-sentences",
"author": {
"login": "author_7"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "a1d067c2fa8a813a6d47f7bccfb8d08af3163e23"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 1,
"nodes": [
{
"commit": {
"oid": "26e0b4fa32500e73025b8c1c4941deddcceab6da",
"message": "Added change in yml file",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-11-29T14:51:14Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-11-29T14:51:14Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2022-11-29T14:52:40Z",
"url": "https://github.com/potion/potion-voice/pull/7#pullrequestreview-1197714881",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-production.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1,193 @@
{
"number": 8,
"title": "updated mongoose version 6.x",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/8",
"createdAt": "2022-12-16T15:03:54Z",
"mergedAt": "2022-12-16T15:31:52Z",
"closedAt": "2022-12-16T15:31:52Z",
"additions": 6351,
"deletions": 23,
"changedFiles": 13,
"isDraft": false,
"baseRefName": "main",
"headRefName": "PR-update-mongoose-version-to-6.x",
"author": {
"login": "author_9"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "89ba7c08942ecb39cfc90d447d142e8d9fd8a3dc"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": [
{
"login": "author_7"
}
]
},
"commits": {
"totalCount": 3,
"nodes": [
{
"commit": {
"oid": "c31772f5c452adfad9548001d5bd44409054f6c6",
"message": "updated mongoose version 6.x",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-16T15:03:22Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-16T15:03:22Z"
}
}
},
{
"commit": {
"oid": "a444056854eaea7ad553e643e49953ac9792e54f",
"message": "update development mongo uri",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-16T15:15:25Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-16T15:15:25Z"
}
}
},
{
"commit": {
"oid": "ad1ade5bd3c480591490118c644059dabf5d46cf",
"message": "update dev/staging mongo uri",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-16T15:26:26Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-16T15:26:26Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2022-12-16T15:31:43Z",
"url": "https://github.com/potion/potion-voice/pull/8#pullrequestreview-1221040528",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": ".prettierrc",
"additions": 7,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "package.json",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/index.js",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/package.json",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-production.yml",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/yarn.lock",
"additions": 2475,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "voice-synthsizer-job-handler/index.js",
"additions": 2,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/package.json",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-development.yml",
"additions": 5,
"deletions": 6,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-production.yml",
"additions": 6,
"deletions": 7,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/yarn.lock",
"additions": 1371,
"deletions": 0,
"changeType": "ADDED"
},
{
"path": "yarn.lock",
"additions": 2475,
"deletions": 0,
"changeType": "ADDED"
}
]
}
}

View File

@@ -0,0 +1,119 @@
{
"number": 9,
"title": "update DB uri",
"body": "",
"state": "MERGED",
"url": "https://github.com/potion/potion-voice/pull/9",
"createdAt": "2022-12-19T11:00:51Z",
"mergedAt": "2023-01-10T12:12:57Z",
"closedAt": "2023-01-10T12:12:57Z",
"additions": 6,
"deletions": 6,
"changedFiles": 4,
"isDraft": false,
"baseRefName": "main",
"headRefName": "update-db-uri",
"author": {
"login": "author_9"
},
"mergedBy": {
"login": "author_6"
},
"mergeCommit": {
"oid": "7708b1a13f89398c7718d1b39eae1271a1c9df40"
},
"milestone": null,
"labels": {
"nodes": []
},
"assignees": {
"nodes": []
},
"requestedReviewers": {
"nodes": []
},
"commits": {
"totalCount": 2,
"nodes": [
{
"commit": {
"oid": "391d1d181208264195773de717e9be058e9fe471",
"message": "update DB uri",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-19T11:00:25Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-19T11:00:25Z"
}
}
},
{
"commit": {
"oid": "6c444d38397251f3c7d1ea7eb919bdb57df8eb7e",
"message": "update DB uri",
"author": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-19T11:04:01Z"
},
"committer": {
"name": "author_unknown",
"email": "author_unknown",
"date": "2022-12-19T11:04:01Z"
}
}
}
]
},
"reviews": {
"nodes": [
{
"author": {
"login": "author_6"
},
"state": "APPROVED",
"body": "",
"submittedAt": "2023-01-10T12:12:51Z",
"url": "https://github.com/potion/potion-voice/pull/9#pullrequestreview-1242087312",
"comments": {
"nodes": []
}
}
]
},
"comments": {
"nodes": []
},
"files": {
"nodes": [
{
"path": "voice-cloning-job-handler/pm2-development.yml",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-cloning-job-handler/pm2-production.yml",
"additions": 2,
"deletions": 2,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-development.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
},
{
"path": "voice-synthsizer-job-handler/pm2-production.yml",
"additions": 1,
"deletions": 1,
"changeType": "MODIFIED"
}
]
}
}

View File

@@ -0,0 +1 @@
ref: refs/heads/main

View File

@@ -0,0 +1,5 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true

View File

@@ -0,0 +1 @@
Unnamed repository; edit this file 'description' to name the repository.

View File

@@ -0,0 +1,15 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".
. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
:

View File

@@ -0,0 +1,24 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.
#
# To enable this hook, rename this file to "commit-msg".
# Uncomment the below to add a Signed-off-by line to the message.
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
# hook is more suited to it.
#
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
# This example catches duplicate Signed-off-by lines.
test "" = "$(grep '^Signed-off-by: ' "$1" |
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
echo >&2 Duplicate Signed-off-by lines.
exit 1
}

View File

@@ -0,0 +1,174 @@
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open2;
# An example hook script to integrate Watchman
# (https://facebook.github.io/watchman/) with git to speed up detecting
# new and modified files.
#
# The hook is passed a version (currently 2) and last update token
# formatted as a string and outputs to stdout a new update token and
# all files that have been modified since the update token. Paths must
# be relative to the root of the working tree and separated by a single NUL.
#
# To enable this hook, rename this file to "query-watchman" and set
# 'git config core.fsmonitor .git/hooks/query-watchman'
#
my ($version, $last_update_token) = @ARGV;
# Uncomment for debugging
# print STDERR "$0 $version $last_update_token\n";
# Check the hook interface version
if ($version ne 2) {
die "Unsupported query-fsmonitor hook version '$version'.\n" .
"Falling back to scanning...\n";
}
my $git_work_tree = get_working_dir();
my $retry = 1;
my $json_pkg;
eval {
require JSON::XS;
$json_pkg = "JSON::XS";
1;
} or do {
require JSON::PP;
$json_pkg = "JSON::PP";
};
launch_watchman();
sub launch_watchman {
my $o = watchman_query();
if (is_work_tree_watched($o)) {
output_result($o->{clock}, @{$o->{files}});
}
}
sub output_result {
my ($clockid, @files) = @_;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# binmode $fh, ":utf8";
# print $fh "$clockid\n@files\n";
# close $fh;
binmode STDOUT, ":utf8";
print $clockid;
print "\0";
local $, = "\0";
print @files;
}
sub watchman_clock {
my $response = qx/watchman clock "$git_work_tree"/;
die "Failed to get clock id on '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
return $json_pkg->new->utf8->decode($response);
}
sub watchman_query {
my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')
or die "open2() failed: $!\n" .
"Falling back to scanning...\n";
# In the query expression below we're asking for names of files that
# changed since $last_update_token but not from the .git folder.
#
# To accomplish this, we're using the "since" generator to use the
# recency index to select candidate nodes and "fields" to limit the
# output to file names only. Then we're using the "expression" term to
# further constrain the results.
my $last_update_line = "";
if (substr($last_update_token, 0, 1) eq "c") {
$last_update_token = "\"$last_update_token\"";
$last_update_line = qq[\n"since": $last_update_token,];
}
my $query = <<" END";
["query", "$git_work_tree", {$last_update_line
"fields": ["name"],
"expression": ["not", ["dirname", ".git"]]
}]
END
# Uncomment for debugging the watchman query
# open (my $fh, ">", ".git/watchman-query.json");
# print $fh $query;
# close $fh;
print CHLD_IN $query;
close CHLD_IN;
my $response = do {local $/; <CHLD_OUT>};
# Uncomment for debugging the watch response
# open ($fh, ">", ".git/watchman-response.json");
# print $fh $response;
# close $fh;
die "Watchman: command returned no output.\n" .
"Falling back to scanning...\n" if $response eq "";
die "Watchman: command returned invalid output: $response\n" .
"Falling back to scanning...\n" unless $response =~ /^\{/;
return $json_pkg->new->utf8->decode($response);
}
sub is_work_tree_watched {
my ($output) = @_;
my $error = $output->{error};
if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {
$retry--;
my $response = qx/watchman watch "$git_work_tree"/;
die "Failed to make watchman watch '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
$output = $json_pkg->new->utf8->decode($response);
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# close $fh;
# Watchman will always return all files on the first query so
# return the fast "everything is dirty" flag to git and do the
# Watchman query just to get it over with now so we won't pay
# the cost in git to look up each individual file.
my $o = watchman_clock();
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
output_result($o->{clock}, ("/"));
$last_update_token = $o->{clock};
eval { launch_watchman() };
return 0;
}
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
return 1;
}
sub get_working_dir {
my $working_dir;
if ($^O =~ 'msys' || $^O =~ 'cygwin') {
$working_dir = Win32::GetCwd();
$working_dir =~ tr/\\/\//;
} else {
require Cwd;
$working_dir = Cwd::cwd();
}
return $working_dir;
}

View File

@@ -0,0 +1,8 @@
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
exec git update-server-info

View File

@@ -0,0 +1,14 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
:

View File

@@ -0,0 +1,49 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=$(git hash-object -t tree /dev/null)
fi
# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --type=bool hooks.allownonascii)
# Redirect output to stderr.
exec 1>&2
# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --

View File

@@ -0,0 +1,13 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit"
:

View File

@@ -0,0 +1,53 @@
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local oid> <remote ref> <remote oid>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).
remote="$1"
url="$2"
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
while read local_ref local_oid remote_ref remote_oid
do
if test "$local_oid" = "$zero"
then
# Handle delete
:
else
if test "$remote_oid" = "$zero"
then
# New branch, examine all commits
range="$local_oid"
else
# Update to existing branch, examine new commits
range="$remote_oid..$local_oid"
fi
# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if test -n "$commit"
then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi
done
exit 0

View File

@@ -0,0 +1,169 @@
#!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $2 -- the branch being rebased (or empty when rebasing the current branch).
#
# This sample shows how to prevent topic branches that are already
# merged to 'next' branch from getting rebased, because allowing it
# would result in rebasing already published history.
publish=next
basebranch="$1"
if test "$#" = 2
then
topic="refs/heads/$2"
else
topic=`git symbolic-ref HEAD` ||
exit 0 ;# we do not interrupt rebasing detached HEAD
fi
case "$topic" in
refs/heads/??/*)
;;
*)
exit 0 ;# we do not interrupt others.
;;
esac
# Now we are dealing with a topic branch being rebased
# on top of master. Is it OK to rebase it?
# Does the topic really exist?
git show-ref -q "$topic" || {
echo >&2 "No such branch $topic"
exit 1
}
# Is topic fully merged to master?
not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
if test -z "$not_in_master"
then
echo >&2 "$topic is fully merged to master; better remove it."
exit 1 ;# we could allow it, but there is no point.
fi
# Is topic ever merged to next? If so you should not be rebasing it.
only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
only_next_2=`git rev-list ^master ${publish} | sort`
if test "$only_next_1" = "$only_next_2"
then
not_in_topic=`git rev-list "^$topic" master`
if test -z "$not_in_topic"
then
echo >&2 "$topic is already up to date with master"
exit 1 ;# we could allow it, but there is no point.
else
exit 0
fi
else
not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
/usr/bin/perl -e '
my $topic = $ARGV[0];
my $msg = "* $topic has commits already merged to public branch:\n";
my (%not_in_next) = map {
/^([0-9a-f]+) /;
($1 => 1);
} split(/\n/, $ARGV[1]);
for my $elem (map {
/^([0-9a-f]+) (.*)$/;
[$1 => $2];
} split(/\n/, $ARGV[2])) {
if (!exists $not_in_next{$elem->[0]}) {
if ($msg) {
print STDERR $msg;
undef $msg;
}
print STDERR " $elem->[1]\n";
}
}
' "$topic" "$not_in_next" "$not_in_master"
exit 1
fi
<<\DOC_END
This sample hook safeguards topic branches that have been
published from being rewound.
The workflow assumed here is:
* Once a topic branch forks from "master", "master" is never
merged into it again (either directly or indirectly).
* Once a topic branch is fully cooked and merged into "master",
it is deleted. If you need to build on top of it to correct
earlier mistakes, a new topic branch is created by forking at
the tip of the "master". This is not strictly necessary, but
it makes it easier to keep your history simple.
* Whenever you need to test or publish your changes to topic
branches, merge them into "next" branch.
The script, being an example, hardcodes the publish branch name
to be "next", but it is trivial to make it configurable via
$GIT_DIR/config mechanism.
With this workflow, you would want to know:
(1) ... if a topic branch has ever been merged to "next". Young
topic branches can have stupid mistakes you would rather
clean up before publishing, and things that have not been
merged into other branches can be easily rebased without
affecting other people. But once it is published, you would
not want to rewind it.
(2) ... if a topic branch has been fully merged to "master".
Then you can delete it. More importantly, you should not
build on top of it -- other people may already want to
change things related to the topic as patches against your
"master", so if you need further changes, it is better to
fork the topic (perhaps with the same name) afresh from the
tip of "master".
Let's look at this example:
o---o---o---o---o---o---o---o---o---o "next"
/ / / /
/ a---a---b A / /
/ / / /
/ / c---c---c---c B /
/ / / \ /
/ / / b---b C \ /
/ / / / \ /
---o---o---o---o---o---o---o---o---o---o---o "master"
A, B and C are topic branches.
* A has one fix since it was merged up to "next".
* B has finished. It has been fully merged up to "master" and "next",
and is ready to be deleted.
* C has not merged to "next" at all.
We would want to allow C to be rebased, refuse A, and encourage
B to be deleted.
To compute (1):
git rev-list ^master ^topic next
git rev-list ^master next
if these match, topic has not merged in next at all.
To compute (2):
git rev-list master..topic
if this is empty, it is fully merged to "master".
DOC_END

View File

@@ -0,0 +1,24 @@
#!/bin/sh
#
# An example hook script to make use of push options.
# The example simply echoes all push options that start with 'echoback='
# and rejects all pushes when the "reject" push option is used.
#
# To enable this hook, rename this file to "pre-receive".
if test -n "$GIT_PUSH_OPTION_COUNT"
then
i=0
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
do
eval "value=\$GIT_PUSH_OPTION_$i"
case "$value" in
echoback=*)
echo "echo from the pre-receive-hook: ${value#*=}" >&2
;;
reject)
exit 1
esac
i=$((i + 1))
done
fi

View File

@@ -0,0 +1,42 @@
#!/bin/sh
#
# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,
# the commit is aborted.
#
# To enable this hook, rename this file to "prepare-commit-msg".
# This hook includes three examples. The first one removes the
# "# Please enter the commit message..." help message.
#
# The second includes the output of "git diff --name-status -r"
# into the message, just before the "git status" output. It is
# commented because it doesn't cope with --amend or with squashed
# commits.
#
# The third example adds a Signed-off-by line to the message, that can
# still be edited. This is rarely a good idea.
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
# case "$COMMIT_SOURCE,$SHA1" in
# ,|template,)
# /usr/bin/perl -i.bak -pe '
# print "\n" . `git diff --cached --name-status -r`
# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
# *) ;;
# esac
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
# if test -z "$COMMIT_SOURCE"
# then
# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
# fi

View File

@@ -0,0 +1,78 @@
#!/bin/sh
# An example hook script to update a checked-out tree on a git push.
#
# This hook is invoked by git-receive-pack(1) when it reacts to git
# push and updates reference(s) in its repository, and when the push
# tries to update the branch that is currently checked out and the
# receive.denyCurrentBranch configuration variable is set to
# updateInstead.
#
# By default, such a push is refused if the working tree and the index
# of the remote repository has any difference from the currently
# checked out commit; when both the working tree and the index match
# the current commit, they are updated to match the newly pushed tip
# of the branch. This hook is to be used to override the default
# behaviour; however the code below reimplements the default behaviour
# as a starting point for convenient modification.
#
# The hook receives the commit with which the tip of the current
# branch is going to be updated:
commit=$1
# It can exit with a non-zero status to refuse the push (when it does
# so, it must not modify the index or the working tree).
die () {
echo >&2 "$*"
exit 1
}
# Or it can make any necessary changes to the working tree and to the
# index to bring them to the desired state when the tip of the current
# branch is updated to the new commit, and exit with a zero status.
#
# For example, the hook can simply run git read-tree -u -m HEAD "$1"
# in order to emulate git fetch that is run in the reverse direction
# with git push, as the two-tree form of git read-tree -u -m is
# essentially the same as git switch or git checkout that switches
# branches while keeping the local changes in the working tree that do
# not interfere with the difference between the branches.
# The below is a more-or-less exact translation to shell of the C code
# for the default behaviour for git's push-to-checkout hook defined in
# the push_to_deploy() function in builtin/receive-pack.c.
#
# Note that the hook will be executed from the repository directory,
# not from the working tree, so if you want to perform operations on
# the working tree, you will have to adapt your code accordingly, e.g.
# by adding "cd .." or using relative paths.
if ! git update-index -q --ignore-submodules --refresh
then
die "Up-to-date check failed"
fi
if ! git diff-files --quiet --ignore-submodules --
then
die "Working directory has unstaged changes"
fi
# This is a rough translation of:
#
# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
if git cat-file -e HEAD 2>/dev/null
then
head=HEAD
else
head=$(git hash-object -t tree --stdin </dev/null)
fi
if ! git diff-index --quiet --cached --ignore-submodules $head --
then
die "Working directory has staged changes"
fi
if ! git read-tree -u -m "$commit"
then
die "Could not update working tree to new HEAD"
fi

View File

@@ -0,0 +1,128 @@
#!/bin/sh
#
# An example hook script to block unannotated tags from entering.
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
#
# To enable this hook, rename this file to "update".
#
# Config
# ------
# hooks.allowunannotated
# This boolean sets whether unannotated tags will be allowed into the
# repository. By default they won't be.
# hooks.allowdeletetag
# This boolean sets whether deleting tags will be allowed in the
# repository. By default they won't be.
# hooks.allowmodifytag
# This boolean sets whether a tag may be modified after creation. By default
# it won't be.
# hooks.allowdeletebranch
# This boolean sets whether deleting branches will be allowed in the
# repository. By default they won't be.
# hooks.denycreatebranch
# This boolean sets whether remotely creating branches will be denied
# in the repository. By default this is allowed.
#
# --- Command line
refname="$1"
oldrev="$2"
newrev="$3"
# --- Safety check
if [ -z "$GIT_DIR" ]; then
echo "Don't run this script from the command line." >&2
echo " (if you want, you could supply GIT_DIR then run" >&2
echo " $0 <ref> <oldrev> <newrev>)" >&2
exit 1
fi
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
exit 1
fi
# --- Config
allowunannotated=$(git config --type=bool hooks.allowunannotated)
allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
case "$projectdesc" in
"Unnamed repository"* | "")
echo "*** Project description file hasn't been set" >&2
exit 1
;;
esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
if [ "$newrev" = "$zero" ]; then
newrev_type=delete
else
newrev_type=$(git cat-file -t $newrev)
fi
case "$refname","$newrev_type" in
refs/tags/*,commit)
# un-annotated tag
short_refname=${refname##refs/tags/}
if [ "$allowunannotated" != "true" ]; then
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
exit 1
fi
;;
refs/tags/*,delete)
# delete tag
if [ "$allowdeletetag" != "true" ]; then
echo "*** Deleting a tag is not allowed in this repository" >&2
exit 1
fi
;;
refs/tags/*,tag)
# annotated tag
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
then
echo "*** Tag '$refname' already exists." >&2
echo "*** Modifying a tag is not allowed in this repository." >&2
exit 1
fi
;;
refs/heads/*,commit)
# branch
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
echo "*** Creating a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/heads/*,delete)
# delete branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/remotes/*,commit)
# tracking branch
;;
refs/remotes/*,delete)
# delete tracking branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
exit 1
fi
;;
*)
# Anything else (is there anything else?)
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
exit 1
;;
esac
# --- Finished
exit 0

View File

@@ -0,0 +1,6 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

View File

@@ -0,0 +1,26 @@
604bca798f1fd95fdf9c6550b3f7ea4646ca9f1d refs/heads/AI-477
3ed7eb288223323434ab7fb291601553948f34e0 refs/heads/PR-2428-add-score-to-voice-ai-model
8449b51bf17a67dc1481bb837a56babedd9dfe23 refs/heads/PR-update-mongoose-version-to-6.x
b8e6acc46e53f2121791123887769e038dc22813 refs/heads/ai-490-adv-synth
ca67b346ab75d164115a75f5134f2284fbd2dd03 refs/heads/develop
7238ac120c033e11e631113064f2ff3c4de7950c refs/heads/develop-07-08
76e12a3d4440f4329f2b1e31217a2b66ad74829b refs/heads/develop-07-08-updates
1e3a5dff0bde67a482970b9b9b6ed5cba9ea76a0 refs/heads/develop-update-24-01
35c7c05af0312026a5888fced887b02d266d32dd refs/heads/feature-4023-voice-clone-handler
dbf25eb9c2f6fe55a50270fbf3293ce9de8512a4 refs/heads/fix-bucket-access-for-sentences
80b5e32376e128ba8757cc8fd368886aa61654a2 refs/heads/fix-output-for-wav
4d9d9db41fe7515800649e4181039aed34f3cb75 refs/heads/hotfix-update-filename
aa1c4514a18b03efd9b9a7702fd36e74b6646949 refs/heads/initialCommit
fcd8a9d0b00406bda1943c234a8f2fecaff9f774 refs/heads/main
40a4629b949e1f24f821153462d04e795d49efdc refs/heads/new-feature-score-model
fa9b691dd2968e578d32ad446c12270ba2afe114 refs/heads/new-feature-updates
7239d0e0388dcec38fa906bb41d9f8d98bf21688 refs/heads/staging
cf7cc77c00a4af935ed171f03506bf9ad47dbab1 refs/heads/update-db-uri
0aa8dc96ee900a3c4af9656430917fd339311ddf refs/heads/update-pm2-conf
f12b5dd1ece9a341c12cc948b2e00b44ad1f115a refs/heads/update-voice-clone-23-05
b14f702ad842147dd5babfa02f526c5e47453530 refs/heads/update-voice-cloning-to-use-original-text
9ef5b7d0f22b20e1f81ee6545f5707cb7bf98a8b refs/heads/voice-ai-v2-changes
6c5df6a7dc78898908832764f609e43f926ec2bb refs/tags/v1.0
1a10c0d2c7dd480b23fa2104affc7cc0670a8b32 refs/tags/v1.0^{}
c272e53d46d728600699e671b4e8739b85bf47dd refs/tags/v1.1
cee256d44672110035ec2c132f410dbd61dc7a03 refs/tags/v1.1^{}

View File

@@ -0,0 +1,2 @@
P pack-95ae464e5730d8a207a44df7f0b70eb3e2347f3f.pack

View File

@@ -0,0 +1,27 @@
# pack-refs with: peeled fully-peeled sorted
604bca798f1fd95fdf9c6550b3f7ea4646ca9f1d refs/heads/AI-477
3ed7eb288223323434ab7fb291601553948f34e0 refs/heads/PR-2428-add-score-to-voice-ai-model
8449b51bf17a67dc1481bb837a56babedd9dfe23 refs/heads/PR-update-mongoose-version-to-6.x
b8e6acc46e53f2121791123887769e038dc22813 refs/heads/ai-490-adv-synth
ca67b346ab75d164115a75f5134f2284fbd2dd03 refs/heads/develop
7238ac120c033e11e631113064f2ff3c4de7950c refs/heads/develop-07-08
76e12a3d4440f4329f2b1e31217a2b66ad74829b refs/heads/develop-07-08-updates
1e3a5dff0bde67a482970b9b9b6ed5cba9ea76a0 refs/heads/develop-update-24-01
35c7c05af0312026a5888fced887b02d266d32dd refs/heads/feature-4023-voice-clone-handler
dbf25eb9c2f6fe55a50270fbf3293ce9de8512a4 refs/heads/fix-bucket-access-for-sentences
80b5e32376e128ba8757cc8fd368886aa61654a2 refs/heads/fix-output-for-wav
4d9d9db41fe7515800649e4181039aed34f3cb75 refs/heads/hotfix-update-filename
aa1c4514a18b03efd9b9a7702fd36e74b6646949 refs/heads/initialCommit
fcd8a9d0b00406bda1943c234a8f2fecaff9f774 refs/heads/main
40a4629b949e1f24f821153462d04e795d49efdc refs/heads/new-feature-score-model
fa9b691dd2968e578d32ad446c12270ba2afe114 refs/heads/new-feature-updates
7239d0e0388dcec38fa906bb41d9f8d98bf21688 refs/heads/staging
cf7cc77c00a4af935ed171f03506bf9ad47dbab1 refs/heads/update-db-uri
0aa8dc96ee900a3c4af9656430917fd339311ddf refs/heads/update-pm2-conf
f12b5dd1ece9a341c12cc948b2e00b44ad1f115a refs/heads/update-voice-clone-23-05
b14f702ad842147dd5babfa02f526c5e47453530 refs/heads/update-voice-cloning-to-use-original-text
9ef5b7d0f22b20e1f81ee6545f5707cb7bf98a8b refs/heads/voice-ai-v2-changes
6c5df6a7dc78898908832764f609e43f926ec2bb refs/tags/v1.0
^1a10c0d2c7dd480b23fa2104affc7cc0670a8b32
c272e53d46d728600699e671b4e8739b85bf47dd refs/tags/v1.1
^cee256d44672110035ec2c132f410dbd61dc7a03

View File

@@ -0,0 +1,2 @@
# potion-voice
Potion's Text-to-Speech Service (multi-speaker baseline model training, voice cloning and speech synthesising)

View File

@@ -0,0 +1,61 @@
const AWS = require('aws-sdk')
const fs = require('fs')
const { stringifyError } = require('../utils/logService')
var s3 = new AWS.S3()
const fetchS3Object = async ({ fileName, bucket, filePath }) => {
filePath = filePath || '/tmp/' + fileName
console.log('Fetching', stringifyObj({ fileName, filePath }))
try {
var params = { Bucket: bucket, Key: fileName }
const downloadResult = await s3.getObject(params).promise()
fs.writeFileSync(filePath, downloadResult.Body, function (err) {
if (err) console.log(err.code, '-', err.message)
})
return filePath
} catch (error) {
console.log('Download from S3 Error:', stringifyError(error))
throw error
}
}
const upload = ({
filePath,
fileName,
bucket,
contentType,
fileType,
// accessControl,
}) => {
return new Promise((resolve, reject) => {
// accessControl = accessControl || 'public-read'
fs.readFile(filePath, function (err, data) {
if (err) reject(err)
const params = {
Bucket: bucket, // pass your bucket name
Key: fileName,
Body: data,
// ContentType: contentType,
// ContentDisposition: `inline; fileName=${fileName}.${fileType}`,
// ACL: accessControl,
}
s3.upload(params, function (err, data) {
if (err) {
reject(err)
console.log(`${fileName} Upload to s3`, stringifyError(err))
} else {
console.log(
`Successfully uploaded data ${fileName}`,
stringifyError(data)
)
resolve(data.Location)
}
})
})
})
}
module.exports = {
upload,
fetchS3Object,
}

View File

@@ -0,0 +1,6 @@
const AWS = require('aws-sdk')
AWS.config.update({ region: 'us-west-2' })
const sqsService = require('./sqs_service')
const sqs = new AWS.SQS({ apiVersion: '2012-11-05' })
module.exports = sqsService

View File

@@ -0,0 +1,83 @@
const AWS = require('aws-sdk')
const sqs = new AWS.SQS({ apiVersion: '2012-11-05' })
const StringifyUtils = require('../utils/logService')
const fetchMessageFromSQS = (sqsQueueUrl, waitTimeInSeconds = 0) => {
return new Promise((resolve, reject) => {
const params = {
WaitTimeSeconds: waitTimeInSeconds,
QueueUrl: sqsQueueUrl /* required */,
}
sqs.receiveMessage(params, function (err, data) {
if (err) {
reject(err)
console.log(
`ERROR in fetchJobFromSQS : `,
StringifyUtils.stringifyError(err)
)
} else {
resolve(data)
}
})
})
}
const deleteMessageFromSQS = (sqsQueueUrl, receiptHandle) => {
return new Promise((resolve, reject) => {
const params = {
ReceiptHandle: receiptHandle,
QueueUrl: sqsQueueUrl /* required */,
}
sqs.deleteMessage(params, function (err, data) {
if (err) {
reject(err)
console.log(
`ERROR in sending delete request to AWS.SQS : `,
StringifyUtils.stringifyError(err)
)
} else {
console.log(
'Successfully sent delete request to AWS.SQS',
StringifyUtils.stringifyError(data)
)
resolve(data)
}
})
})
}
const sendMessageToSQS = (sqsQueueUrl, message) => {
return new Promise((resolve, reject) => {
const params = {
MessageBody: message,
QueueUrl: sqsQueueUrl /* required */,
// MessageGroupId:
// process.env.POTION_APP_ENV ||
// '' + `_` + uuidV4() + '_' + new Date().toISOString(),
// MessageDeduplicationId: uuidV4() + `_` + new Date().toISOString()
}
sqs.sendMessage(params, function (err, data) {
if (err) {
reject(err)
console.log(
`ERROR in seding request to AWS.SQS : `,
StringifyUtils.stringifyError(err)
)
} else {
console.log(
'Successfully sent request to AWS.SQS',
StringifyUtils.stringifyError(data)
)
resolve(data.Location)
}
})
})
}
module.exports = {
fetchMessageFromSQS,
deleteMessageFromSQS,
sendMessageToSQS,
}

View File

@@ -0,0 +1,18 @@
const Bugsnag = require('@bugsnag/js')
const DEV_APP_ENVS = ['local-dev', 'development']
const handleError = (err, user) => {
const isDevEnv = DEV_APP_ENVS.includes(process.env.POTION_APP_ENV)
if (isDevEnv) {
return
}
if (user)
Bugsnag.notify(err, function (event) {
event.setUser(user._id, user.email, user.name)
})
else Bugsnag.notify(err)
}
module.exports = handleError

View File

@@ -0,0 +1,9 @@
const deleteFile = (filePath) => {
return new Promise((resolve) => {
require('fs').unlinkSync(filePath)
console.log(`[deleted] ${filePath}`)
resolve()
})
}
exports.deleteFile = deleteFile

View File

@@ -0,0 +1,19 @@
const fs = require('fs')
const importedModules = {}
const files = fs.readdirSync(__dirname)
for (const file of files) {
const fileNameWithoutExtension = file.replace(/\.[^.]*$/, '')
const fileExtension = file.split('.').pop()
if (
fileNameWithoutExtension !== 'index' &&
(fileExtension === 'js' || fileExtension === 'ts')
)
importedModules[fileNameWithoutExtension] = require(`./${file}`)[
fileNameWithoutExtension
]
}
module.exports = importedModules

View File

@@ -0,0 +1,14 @@
const stringifyError = (error = {}) => {
return JSON.stringify(error, Object.getOwnPropertyNames(error))
}
const potionErrorObj = (error = {}, details = {}) => {
const stringifiedError = stringifyError(error)
const stringifiedObject = JSON.stringify({
error: stringifiedError,
details,
})
return stringifiedObject
}
module.exports = { potionErrorObj, stringifyError }

View File

@@ -0,0 +1,4 @@
const VoiceCloning = require('./voice_cloning_model')
const VoiceCloningService = require('./voice_cloning_service')
module.exports = VoiceCloningService(VoiceCloning)

View File

@@ -0,0 +1,44 @@
const mongoose = require('mongoose')
const Schema = mongoose.Schema
const VoiceCloningSchema = Schema(
{
userId: {
type: Schema.Types.ObjectId,
ref: 'User',
required: true,
},
userAudioProfileId: {
type: Schema.Types.ObjectId,
ref: 'UserAudioProfile',
required: true,
},
status: {
type: String,
required: false,
default: 'created',
},
input: {
type: Schema.Types.Mixed,
default: null,
},
training_model: {
type: Schema.Types.Mixed,
default: null,
},
metadata: {
type: Schema.Types.Mixed,
default: null,
},
deleted: {
type: Boolean,
required: true,
default: false,
},
},
{
timestamps: true,
}
)
module.exports = mongoose.model('VoiceCloning', VoiceCloningSchema)

View File

@@ -0,0 +1,140 @@
const StringifyUtils = require('../utils/logService')
const create = (VoiceCloningModel) => async (data) => {
try {
const newModel = new VoiceCloningModel({ ...data })
const savedModel = await newModel.save()
return savedModel
} catch (error) {
const details = { data }
console.log(
'ERROR - VOICE CLONING SERVICE > create',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
const insertMany = (VoiceCloningModel) => async (data) => {
try {
const inserted = await VoiceCloningModel.insertMany(data)
return inserted
} catch (error) {
const details = { data }
console.log(
'ERROR - VOICE CLONING SERVICE > insertMany',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
const read = (VoiceCloningModel) => async (filter) => {
try {
const foundModel = await VoiceCloningModel.findOne({
...filter,
deleted: false,
})
return foundModel
} catch (error) {
const details = { filter }
console.log(
'ERROR - VOICE CLONING SERVICE > read',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
const find = (VoiceCloningModel) => async (filter) => {
try {
const foundModels = await VoiceCloningModel.find({
...filter,
deleted: false,
})
return foundModels
} catch (error) {
const details = { filter }
console.log(
'ERROR - VOICE CLONING SERVICE > find',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
const update = (VoiceCloningModel) => async (data) => {
try {
const updatedModel = await VoiceCloningModel.findOneAndUpdate(
{ _id: data._id },
data,
{
new: true,
}
)
return updatedModel
} catch (error) {
const details = { data }
console.log(
'ERROR - VOICE CLONING SERVICE > update',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
const remove = (VoiceCloningModel) => async (filter) => {
try {
const updatedModel = await VoiceCloningModel.findOneAndUpdate(
{ ...filter },
{
$set: {
deleted: true,
},
},
{ new: true }
)
return updatedModel
} catch (error) {
const details = { filter }
console.log(
'ERROR - VOICE CLONING SERVICE > remove',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
const removeMany = (VoiceCloningModel) => async (filter) => {
try {
const updatedModel = await VoiceCloningModel.updateMany(
{ ...filter },
{
$set: {
deleted: true,
},
},
{ new: true }
)
return updatedModel
} catch (error) {
const details = { filter }
console.log(
'ERROR - VOICE CLONING SERVICE > removeMany',
StringifyUtils.potionErrorObj(error, details)
)
throw error
}
}
module.exports = (VoiceCloningModel) => {
return {
create: create(VoiceCloningModel),
insertMany: insertMany(VoiceCloningModel),
read: read(VoiceCloningModel),
remove: remove(VoiceCloningModel),
removeMany: removeMany(VoiceCloningModel),
update: update(VoiceCloningModel),
find: find(VoiceCloningModel),
}
}

View File

@@ -0,0 +1,21 @@
{
"name": "potion-voice",
"version": "1.0.0",
"description": "This will handle the voice cloning jobs",
"main": "index.js",
"scripts": {},
"dependencies": {
"@bugsnag/js": "^7.3.5",
"aws-sdk": "^2.752.0",
"fs-extra": "^9.0.1",
"mongoose": "^6.8.0",
"pm2": "^5.2.0",
"rimraf": "^3.0.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"aws-code-deploy": "^1.0.11"
},
"author": "potion Team",
"license": "ISC"
}

View File

@@ -0,0 +1,12 @@
protobuf>=3.8.0
uuid
numpy
torch
torchvision
torchaudio
tensorboard
tensorboardx
requests
git+https://scrubbed_1@example.com/potion/potion-voice-utils.git
resemblyzer
textdistance

View File

@@ -0,0 +1,12 @@
protobuf>=3.8.0
uuid
numpy
torch==1.12.1+cu116 # requires --extra-index-url https://download.pytorch.org/whl/cu116
torchvision==0.13.1+cu116 # requires --extra-index-url https://download.pytorch.org/whl/cu116
torchaudio==0.12.1 # requires --extra-index-url https://download.pytorch.org/whl/cu116
tensorboard
tensorboardx
requests
git+https://scrubbed_1@example.com/potion/potion-voice-utils.git
resemblyzer
textdistance

View File

@@ -0,0 +1,10 @@
protobuf>=3.8.0
uuid
numpy
torch==1.9.1
torchvision==0.10.1
torchaudio~=0.9.0
requests
git+https://scrubbed_1@example.com/potion/potion-voice-utils.git
resemblyzer
textdistance

View File

@@ -0,0 +1,10 @@
protobuf>=3.8.0
uuid
numpy
torch
torchvision
torchaudio
requests
git+https://scrubbed_1@example.com/potion/potion-voice-utils.git
resemblyzer
textdistance

View File

@@ -0,0 +1,11 @@
protobuf>=3.8.0
uuid
numpy
torch==1.9.1+cu111 # requires --find-links https://download.pytorch.org/whl/torch_stable.html
torchvision==0.10.1+cu111 # requires --find-links https://download.pytorch.org/whl/torch_stable.html
torchaudio~=0.9.0 # requires --find-links https://download.pytorch.org/whl/torch_stable.html
tensorboard
tensorboardx
requests
git+https://scrubbed_1@example.com/potion/potion-voice-utils.git
resemblyzer

View File

@@ -0,0 +1,332 @@
const fs = require('fs')
const https = require('https')
const exec = require('child_process').exec
const AWS = require('aws-sdk')
const Bugsnag = require('@bugsnag/js')
const mongoose = require('mongoose')
const version = require('./package.json').version
const sqs = require('../app/services/sqs')
const s3 = require('../app/services/s3')
const voiceCloningService = require('./voice_cloning')
const userAudioProfileService = require('./user_audio_profile')
AWS.config.update({ region: 'us-west-2' })
const sqsQueueUrl = process.env.SQS_URL
const mongoUriDev = process.env.MONGODB_URI_DEV
const mongoUriStaging = process.env.MONGODB_URI_STAGING
const mongoUriProd = process.env.MONGODB_URI_PROD
let throttleMessageFetching = true
const APP_ENV = process.env.POTION_APP_ENV
const cloudFrontUrlProd = process.env.CLOUDFRONT_URL_PROD
const cloudFrontUrlDev = process.env.CLOUDFRONT_URL_DEV
const cloudFrontUrlStaging = process.env.CLOUDFRONT_URL_STAGING
const updateUrl = (str, cloudFrontUrl) => {
const host = new URL(str).host
return str.replace(`https://${host}`, cloudFrontUrl)
}
function connectDB(dbUri, retryCount = 0) {
return new Promise((resolve, reject) => {
console.log('Connection Attempt : ', retryCount)
mongoose.set('strictQuery', true)
mongoose
.connect(dbUri)
.then((msg) => {
console.log('Connected to Mongo DB !')
resolve()
})
.catch((err) => {
console.log('Failed to connect dns mongo: ', err)
if (retryCount < 6) {
retryCount++
connectDB(dbUri, retryCount)
}
})
})
}
function execShellCommand(cmd, logPath) {
// const exec = require("child_process").exec;
return new Promise((resolve, reject) => {
exec(cmd, { maxBuffer: 1024 * 1000000 }, async (error, stdout, stderr) => {
if (error) {
console.log('Error while proccessing python command', error)
reject(error)
}
// console.log('Stdout --- ', stdout)
// console.log('Stderror --- ', stderr)
await fs.promises.writeFile(`${logPath}/error.log`, stderr)
await fs.promises.writeFile(`${logPath}/info.log`, stdout)
resolve()
})
})
}
async function getFile(waveUrl, path) {
return new Promise((resolve) => {
https.get(waveUrl, (res) => {
const writeStream = fs.createWriteStream(path)
res.pipe(writeStream)
writeStream.on('finish', () => {
writeStream.close()
resolve()
})
})
})
}
function pad(s) {
while (s.length < 3) s = '0' + s // IN future we will need padding to 4
return s
}
const processQueue = () => {
/* eslint-disable no-async-promise-executor */
return new Promise(async (resolve, reject) => {
try {
const response = await sqs.fetchMessageFromSQS(sqsQueueUrl)
if (
typeof response.Messages !== 'undefined' &&
response.Messages.length > 0
) {
throttleMessageFetching = false
const job = JSON.parse(response.Messages[0].Body)
const receiptHandle = response.Messages[0].ReceiptHandle
console.log('job===', job)
const { metadata, input, _id, userAudioProfileId } = job._doc
console.log('userAudioProfileId', userAudioProfileId)
console.log('_id', _id)
const { env } = job
console.log('env', env)
console.log('metadata------', metadata)
console.log('input', input)
const DB_URI =
env === 'production'
? mongoUriProd
: env === 'staging'
? mongoUriStaging
: mongoUriDev
console.log('DB_URI ', DB_URI)
await connectDB(DB_URI)
const cloudFrontUrl =
env === 'production'
? cloudFrontUrlProd
: env === 'staging'
? cloudFrontUrlStaging
: cloudFrontUrlDev
try {
await sqs.deleteMessageFromSQS(sqsQueueUrl, receiptHandle)
const { directoryName } = metadata
console.log('directoryName', directoryName)
const logPath = `/mnt/efs/potion-voice/${env}/${directoryName}`
if (!fs.existsSync(logPath)) {
fs.mkdirSync(logPath, { recursive: true })
}
// update the db model to processing
await voiceCloningService.update({ _id, status: 'processing' })
await userAudioProfileService.update({
_id: userAudioProfileId,
status: 'processing',
})
// create directory for userid-useraudioprofileid if not exist
const rootPath = `/tmp/${directoryName}`
const wavePath = `${rootPath}/wav48/1`
if (!fs.existsSync(wavePath)) {
fs.mkdirSync(wavePath, { recursive: true })
}
const txtPath = `${rootPath}/txt/1`
if (!fs.existsSync(txtPath)) {
fs.mkdirSync(txtPath, { recursive: true })
}
// download the training data files and put it in respective directories
for (let index = 0; index < input.length; index++) {
const item = input[index]
const { waveUrl, originalText } = item
// download wave file
const waveFilePath = `${wavePath}/1_${pad('' + (index + 1))}.wav`
await getFile(updateUrl(waveUrl, cloudFrontUrl), waveFilePath)
const txtFilePath = `${txtPath}/1_${pad('' + (index + 1))}.txt`
await fs.promises.writeFile(txtFilePath, originalText)
}
const zipFileName = directoryName + '.tgz'
// /tmp/directoryName.tgz
await execShellCommand(
`cd /tmp && tar czvf ${zipFileName} ${directoryName}`,
logPath
)
console.log('ZIP created ', zipFileName)
// re-sample audio
const SAMPLING_LABEL = `Time Taken for re-sampling ${directoryName}`
console.time(SAMPLING_LABEL)
const outputPath = `/mnt/efs/potion-voice/${env}/${directoryName}`
const samplingCommand = `python3 ../voice-cloning/prepare_datasets.py --dataset_preset potion_voice_cloning --dataset_archive_path /tmp/${zipFileName} --output_path ${outputPath}`
console.log('samplingCommand ', samplingCommand)
const samplingResponse = await execShellCommand(
samplingCommand,
logPath
)
console.timeEnd(SAMPLING_LABEL)
// /mnt/efs/potion-voice/${env}/speakrs.pth
// /mnt/efs/potion-voice/${env}/txt
// /mnt/efs/potion-voice/${env}/${directoryName}/wav
const outPath = `/mnt/efs/potion-voice/${env}/${directoryName}/sr22050/${directoryName}`
const resultsPath = outPath + '/results'
//update pth file for cloning
// clone the voice
const VOICE_CLONING_LABEL = `Time Taken for voice cloning ${directoryName}`
console.time(VOICE_CLONING_LABEL)
const trainingModelCommand = `python3 ../voice-cloning/clone_voice.py --baseline_model_path ../voice-cloning/pretrained-models/checkpoint_365000.pth --speaker_dataset_path ${outPath} --speaker_embeddings_path ${
outPath + '/speakers.pth'
} --output_path ${resultsPath}`
console.log('Training Model Command', trainingModelCommand)
const trainingResponse = await execShellCommand(
trainingModelCommand,
logPath
)
console.timeEnd(VOICE_CLONING_LABEL)
let generatedDirectoryName = ''
fs.readdirSync(`${resultsPath}/`).forEach((file) => {
if (file.includes('vits_potion_clone'))
// use output from above to get right path and directory name
generatedDirectoryName = file
})
// minimize cloning model
const VOICE_MINIMIZE_LABEL = `Time Taken for voice minimizing cloning ${directoryName}`
console.time(VOICE_MINIMIZE_LABEL)
const minimizeCloningModelCommand = `python3 ../voice-cloning/minimize_cloned_voice_model.py --voice_model_asset_path ${
resultsPath + '/' + generatedDirectoryName + '/'
} --voice_model_name checkpoint_365200.pth`
console.log(
'Minimize Cloning Model Command',
minimizeCloningModelCommand
)
const minimizeCloning = await execShellCommand(
minimizeCloningModelCommand,
logPath
)
console.timeEnd(VOICE_MINIMIZE_LABEL)
// Add the code to update location of generated model and status into DB
await voiceCloningService.update({ _id, status: 'completed' })
const training_model_path = {
voice_model_path: `${resultsPath}/${generatedDirectoryName}/checkpoint_365200.pth`,
voice_model_config_path: `${resultsPath}/${generatedDirectoryName}/config.json`,
voice_model_speakers_file_path: `${outPath}/speakers.pth`, // TODO update the name to voice model speakers embeddings
voice_model_light_path: `${resultsPath}/${generatedDirectoryName}/checkpoint_365200_light.pth`,
voice_model_config_light_path: `${resultsPath}/${generatedDirectoryName}/config_light.json`,
}
await userAudioProfileService.update({
_id: userAudioProfileId,
status: 'completed',
training_model_path,
})
// add code to put that model into S3
let keys = Object.keys(training_model_path)
const training_model_s3_path = {}
for (let index = 0; index < keys.length; index++) {
const path = training_model_path[keys[index]]
const s3Path = await s3.upload({
filePath: path,
fileName: `${directoryName}/${path.split('/').pop()}`,
bucket: `potion-voice-users-training-model/${env}`,
})
training_model_s3_path[keys[index]] = s3Path
}
// add S3 path to user audio profile model
await userAudioProfileService.update({
_id: userAudioProfileId,
training_model_s3_path,
})
} catch (error) {
console.log('error********************', error)
Bugsnag.notify(
new Error(
`Unable to train for voice cloning videos ` + JSON.stringify(job)
)
)
Bugsnag.notify(error)
// update the db to set status as error
await voiceCloningService.update({ _id, status: 'error' })
await userAudioProfileService.update({
_id: userAudioProfileId,
status: 'error',
})
resolve() // to continue working on new jobs
}
} else {
throttleMessageFetching = true
}
resolve()
} catch (error) {
console.error('Error while training voice clone', { error })
Bugsnag.notify(error)
resolve() // to continue working on new jobs
} finally {
mongoose.connection.close()
}
})
}
function sleep(ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms)
})
}
const init = async () => {
console.log('potion Voice Clone Process Started')
Bugsnag.start({
appVersion: APP_ENV + version,
apiKey: process.env.BUGSNAG_BACKEND_KEY,
releaseStage: process.env.NODE_ENV,
})
try {
while (true) {
await processQueue()
if (throttleMessageFetching) await sleep(2000)
}
} catch (error) {
Bugsnag.notify(error)
}
}
init()

View File

@@ -0,0 +1,24 @@
{
"name": "voice-cloning-job-handler",
"version": "1.0.0",
"description": "This will handle the voice cloning jobs",
"main": "index.js",
"scripts": {
"deploy-production": "npx dotenv-cli -e ./app-scripts/env-aws-code-deploy/.env.production.aws-code-deploy node ./app-scripts/deploy-scripts/deploy-production.js",
"deploy-staging": "npx dotenv-cli -e ./app-scripts/env-aws-code-deploy/.env.staging.aws-code-deploy node ./app-scripts/deploy-scripts/deploy-staging.js"
},
"dependencies": {
"@bugsnag/js": "^7.3.5",
"aws-sdk": "^2.752.0",
"fs-extra": "^9.0.1",
"mongoose": "^6.8.0",
"pm2": "^5.2.0",
"rimraf": "^3.0.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"aws-code-deploy": "^1.0.11"
},
"author": "potion Team",
"license": "ISC"
}

View File

@@ -0,0 +1,18 @@
apps:
- name: training-model
script: index.js
watch: false
autorestart: true
instances: 1
time: true
env:
NODE_ENV: 'staging'
POTION_APP_ENV: 'staging'
SQS_URL: 'https://sqs.us-west-2.amazonaws.com/[REDACTED_AWS_ACCOUNT_1961]/potion-voice-clone-ai-staging.fifo'
BUGSNAG_BACKEND_KEY: '[REDACTED_generic-api-key]'
MONGODB_URI_DEV: 'mongodb+srv://[REDACTED_MONGO_USER_deve]:scrubbed_1@example.com7.mongodb.net/potion_development?retryWrites=true&w=majority'
MONGODB_URI_STAGING: 'mongodb+srv://[REDACTED_MONGO_USER_stag]:scrubbed_2@example.com7.mongodb.net/potion_staging?retryWrites=true&w=majority'
MONGODB_URI_PROD: ''
CLOUDFRONT_URL_PROD: 'https://videoassets.sendpotion.com'
CLOUDFRONT_URL_STAGING: ''
CLOUDFRONT_URL_DEV: 'https://d2rmbzmoml90gd.cloudfront.net'

View File

@@ -0,0 +1,18 @@
apps:
- name: training-model
script: index.js
watch: false
autorestart: true
instances: 1
time: true
env:
NODE_ENV: 'production'
POTION_APP_ENV: 'production'
SQS_URL: 'https://sqs.us-west-2.amazonaws.com/[REDACTED_AWS_ACCOUNT_1961]/potion-voice-clone-ai-production.fifo'
BUGSNAG_BACKEND_KEY: '[REDACTED_generic-api-key]'
MONGODB_URI_DEV: 'mongodb+srv://[REDACTED_MONGO_USER_deve]:scrubbed_1@example.com7.mongodb.net/potion_development?retryWrites=true&w=majority'
MONGODB_URI_STAGING: 'mongodb+srv://[REDACTED_MONGO_USER_stag]:scrubbed_2@example.com7.mongodb.net/potion_staging?retryWrites=true&w=majority'
MONGODB_URI_PROD: 'mongodb+srv://[REDACTED_MONGO_USER_prod]:scrubbed_3@example.com.net/potion_production?retryWrites=true&w=majority'
CLOUDFRONT_URL_PROD: 'https://videoassets.sendpotion.com'
CLOUDFRONT_URL_STAGING: ''
CLOUDFRONT_URL_DEV: 'https://d2rmbzmoml90gd.cloudfront.net'

View File

@@ -0,0 +1,4 @@
const UserAudioProfile = require('./user_audio_profile_model')
const UserAudioProfileService = require('./user_audio_profile_service')
module.exports = UserAudioProfileService(UserAudioProfile)

View File

@@ -0,0 +1,40 @@
const mongoose = require('mongoose')
const Schema = mongoose.Schema
const UserAudioProfileSchema = Schema(
{
userId: {
type: Schema.Types.ObjectId,
ref: 'User',
required: true,
},
name: {
type: String,
required: true,
default: '',
},
status: {
type: String,
required: false,
default: 'created',
},
training_model_path: {
type: Schema.Types.Mixed,
default: null,
},
training_model_s3_path: {
type: Schema.Types.Mixed,
default: null,
},
deleted: {
type: Boolean,
required: true,
default: false,
},
},
{
timestamps: true,
}
)
module.exports = mongoose.model('UserAudioProfile', UserAudioProfileSchema)

Some files were not shown because too many files have changed in this diff Show More