Richard Beales
06ae4684c8
replace 50+ occurrences of print() with logger ( #3056 )
...
Co-authored-by: James Collins <collijk@uw.edu >
Co-authored-by: Luke Kyohere <lkyohere@mfsafrica.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
Co-authored-by: Media <12145726+rihp@users.noreply.github.com >
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-04-29 23:40:57 -05:00
James Collins
7e5afd8744
Refactor/decouple logger from global configuration ( #3171 )
...
* Decouple logging from the global configuration
* Configure logging first
* Clean up global voice engine creation
* Remove class vars from logger
* Remove duplicate implementation of
---------
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-04-25 05:41:30 +01:00
James Collins
dfcbf6eee6
Refactor/move singleton out of config module ( #3161 )
2023-04-24 17:24:57 -05:00
Richard Beales
894027f5f6
run black and isort on behalf of OP
2023-04-22 16:25:03 +01:00
Ugo
0efa0d1185
Replace print statements with logging.error
...
This commit replaces two print statements in the _speech method of the BrianSpeech class with a single call to logging.error. This will log error messages with more detail and make it easier to diagnose issues. The changes are backward compatible and should not affect the functionality of the code.
2023-04-20 20:52:45 +03:00
Merwane Hamadi
cf9a94a8b6
isort implemented
2023-04-17 13:42:01 -07:00
Richard Beales
d4b74661aa
Merge pull request #2168 from H-jj-R/master
...
Spelling Fixes
2023-04-17 18:02:09 +01:00
H-jj-R
8dadf79614
Spelling fixes
2023-04-17 13:25:49 +01:00
Gabriel R. Barbosa
64383776a2
Update brian.py - Prevent TypeError exception
...
TypeError: BrianSpeech._speech() takes 2 positional arguments but 3 were given.
Use the same arguments as used in _speech method from gtts.py
2023-04-17 03:04:35 -03:00
BillSchumacher
bf3142ad67
Add eleven labs voice IDs.
2023-04-15 21:24:40 -05:00
BillSchumacher
1073954fb7
Reorg ( #1537 )
...
* Pi's message.
* Fix most everything.
* Blacked
* Add Typing, Docstrings everywhere, organize the code a bit.
* Black
* fix import
* Update message, dedupe.
* Increase backoff time.
* bump up retries
2023-04-15 13:56:23 +01:00