-
Notifications
You must be signed in to change notification settings - Fork 1
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.ap/demo formats #105
Dev.ap/demo formats #105
Conversation
Changed Files
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
==========================================
+ Coverage 46.97% 47.01% +0.03%
==========================================
Files 22 22
Lines 1486 1489 +3
==========================================
+ Hits 698 700 +2
- Misses 788 789 +1 ☔ 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.
I like the refactoring you're doing here, but I'm not sure I like calling get_tokens...
directly from everyvoice/demo/app.py
. That feels like poor encapsulation to me. And ditto calling save_aligned_text_to_file
there.
In fact, choosing spec
as the output format causes a crash because that's not how the Spec writer needs to be called.
I think everyvoice/demo/app.py
needs to call a function that exists in the base callback class, which you might have to add, so that this all works correctly for each file type in the demo.
See EveryVoiceTTS/EveryVoice#617