Bookmarks tagged Python

18 Oct stackoverflow.com
An example of how to achieve concurrency with Python beyond multiprocessing. The description mentions that nowadays in Python this is used besides multiprocessing that communicate with queues.
#Python
18 Oct stackoverflow.com
This tangential issue in StackOverflow shows actually how to define an own ONNX Session outside Piper TTS, and then pass it to the PiperVoice instance. This could solve the issue with multiprocessing (can't pickle the ONNX session)
Also, explains that ONNX already manages its own threads already. Maybe it's not worth to make it work in a separate Process.
18 Oct github.com
Basically what I'm trying to do but full offline and already polished.
Only in English, they encourage tinkering
17 Oct dev.moonshine.ai
Voice, translation and conversational interfaces with a Python SDK that also offers ONNX models, and that looks promising
16 Oct stackoverflow.com
The example solution in this StackOverflow answer appears to me clear and easy to understand. For my Piper TTS case, try to initialise the worker and have the run loop accepting something to say. Do the same with the eInk and add them all into a Manager. Put in the queue text to say/display, but not a function to execute.
16 Oct github.com
A fast and local neural text-to-speech engine that embeds espeak-ng for phonemization.
Development has moved here. Check if this is what I'm using.
16 Oct github.com
Just in case of running into something like this while tinkering with TTS
3 Jun medium.com
In this article, I will try to discuss some misconceptions about Multithreading and explain why they are false.
All experiments are conducted on a machine with 4 cores
#Python
29 Jun 2024 learndjango.com
In this tutorial, we'll learn how to configure a complete user authentication system in Django consisting of login, logout, signup, password change, and password reset.
The complete source code is available on Github if you need a reference.
#Django + #Python
21 May 2024 realpython.com
Complete document walking through queues in Python. Appears complete and extensive, with examples and code
#Python