-
Notifications
You must be signed in to change notification settings - Fork 20
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
Dev.ej/convert to offline html #256
Conversation
OK, not fully PEP 519: I am only doing str or os.PathLike, they say also accept bytes but I see no point in our code base. See https://stackoverflow.com/questions/53418046/how-do-i-type-hint-a-variable-that-can-be-passed-as-the-first-argument-to-open
Changed Files
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #256 +/- ##
==========================================
+ Coverage 88.00% 88.06% +0.06%
==========================================
Files 21 21
Lines 1800 1810 +10
Branches 326 327 +1
==========================================
+ Hits 1584 1594 +10
Misses 179 179
Partials 37 37 ☔ View full report in Codecov by Sentry. |
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.
Looks good to me! A minor function renaming suggestion, but approving here anyways.
%s/convert_to_readalong/convert_prealigned_text_to_readalong/g %s/convert_to_offline_html/convert_prealigned_text_to_offline_html/g
PR Goal?
Add an API function to convert a sequence of tokens to an Offline HTML file.
Fixes?
Related to EveryVoiceTTS/EveryVoice#439
Feedback sought?
general review and validation
Priority?
EV beta
Tests added?
yup
How to test?
The easiest is to exercise via EV: see EveryVoiceTTS/FastSpeech2_lightning#103
Confidence?
pretty high
Version change?
yeah, we've been adding features, so a minor bump would make sense soon. It'll be required before publishing EV with a requirement on this feature.