-
Notifications
You must be signed in to change notification settings - Fork 1
dev.jl/configure boundaries #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #125 +/- ##
==========================================
+ Coverage 49.17% 49.59% +0.41%
==========================================
Files 27 27
Lines 1948 1968 +20
==========================================
+ Hits 958 976 +18
- Misses 990 992 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e248df1 to
9a7134a
Compare
roedoejet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple clarifying questions, but it looks good to me - thanks @jordanxlau !
fs2/cli/synthesize.py
Outdated
|
|
||
| text_config: TextConfig = model.config.text | ||
| split_text: bool = text_config.split_text | ||
| strong: str = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| strong: str = "" | |
| strong_boundaries: str = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe even strong_textsplit_boundaries
fs2/cli/synthesize.py
Outdated
| text_config: TextConfig = model.config.text | ||
| split_text: bool = text_config.split_text | ||
| strong: str = "" | ||
| weak: str = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| weak: str = "" | |
| weak_boundaries: str = "" |
fs2/cli/synthesize.py
Outdated
|
|
||
| text_config: TextConfig = model.config.text | ||
| split_text: bool = text_config.split_text | ||
| strong: str = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here - we could be a bit more clear in the var name
fs2/tests/test_chunking.py
Outdated
| # Checks that the files have reasonable lengths | ||
| output_one = AudioSegment.from_file( | ||
| output_dir / "one--S1--L1--ckpt=77--v_ckpt=10--pred.wav" | ||
| output_dir / "one--S1--L1--ckpt=77--v_ckpt=10--pred.wav", close=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see close in the documentation - what is this for? https://github.com/jiaaro/pydub/blob/master/API.markdown
9a7134a to
52a7801
Compare
52a7801 to
2412d66
Compare
2412d66 to
9f04b42
Compare
roedoejet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - thanks @jordanxlau !
PR Goal?
Allow the user to configure text chunking boundaries in TextConfig (eg. adding an interrobang or ellipsis to the list of strong boundaries, or a dash to the list of weak boundaries).
For more information see: EveryVoiceTTS/EveryVoice#721.
Tests added?
None in submodule - I believe existing tests in main module cover everything.
Related PRs?
See parent PR: See EveryVoiceTTS/EveryVoice#721