Skip to content
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

Fix: Verbose flag working by default on Artbox #155

Open
investor-uyah opened this issue Sep 17, 2024 · 0 comments
Open

Fix: Verbose flag working by default on Artbox #155

investor-uyah opened this issue Sep 17, 2024 · 0 comments

Comments

@investor-uyah
Copy link
Contributor

The Artbox command line tool produces lengthy, unnecessary logs by default during runtime i.e. without the use of the --verbose flag. It looks like this at the moment.

(artbox) ✔ ~/artbox [main|✚ 1] 
01:09 # echo "Are you ready to join Link and Zelda in fighting off this unprecedented threat to Hyrule?" > /tmp/artbox/text.md
 artbox speech from-text \
    --title artbox \
    --input-path /tmp/artbox/text.md \
    --output-path /tmp/artbox/speech.mp3 \
    --engine edge-tts
WordBoundary: {'type': 'WordBoundary', 'offset': 1000000, 'duration': 1125000, 'text': 'Are'}
WordBoundary: {'type': 'WordBoundary', 'offset': 2625000, 'duration': 750000, 'text': 'you'}
WordBoundary: {'type': 'WordBoundary', 'offset': 3875000, 'duration': 2500000, 'text': 'ready'}
WordBoundary: {'type': 'WordBoundary', 'offset': 7000000, 'duration': 1000000, 'text': 'to'}
WordBoundary: {'type': 'WordBoundary', 'offset': 8625000, 'duration': 2625000, 'text': 'join'}
WordBoundary: {'type': 'WordBoundary', 'offset': 11250000, 'duration': 3125000, 'text': 'Link'}
WordBoundary: {'type': 'WordBoundary', 'offset': 14875000, 'duration': 1250000, 'text': 'and'}
WordBoundary: {'type': 'WordBoundary', 'offset': 16625000, 'duration': 3750000, 'text': 'Zelda'}
WordBoundary: {'type': 'WordBoundary', 'offset': 20750000, 'duration': 1250000, 'text': 'in'}
WordBoundary: {'type': 'WordBoundary', 'offset': 22250000, 'duration': 4500000, 'text': 'fighting'}
WordBoundary: {'type': 'WordBoundary', 'offset': 27250000, 'duration': 1625000, 'text': 'off'}
WordBoundary: {'type': 'WordBoundary', 'offset': 29625000, 'duration': 1875000, 'text': 'this'}
WordBoundary: {'type': 'WordBoundary', 'offset': 31875000, 'duration': 8250000, 'text': 'unprecedented'}
WordBoundary: {'type': 'WordBoundary', 'offset': 41000000, 'duration': 2250000, 'text': 'threat'}
WordBoundary: {'type': 'WordBoundary', 'offset': 44500000, 'duration': 875000, 'text': 'to'}
WordBoundary: {'type': 'WordBoundary', 'offset': 45375000, 'duration': 5250000, 'text': 'Hyrule'}

A fix should be implemented to have the tool operate normally. Logs should not be displayed except with the use of the --verbose flag. Also, logs should be designed to appear more helpful. For instance, a display message indicating the successful completion of the process and the name and location of the output file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant