Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Waifu Voice - Made Easy
an implementation of AIwaifu Vocal Pipeline to make it easier to create a fast and easy-to-use Cute Waifu Voice Text -> TTS -> Voice Conversion -> Done
# pip install aivoifu
poetry install aivoifu # Recommended using poetry
from AIvoifu import client_pipeline
model = client_pipeline.tts_pipeline(tts_model_selection='gtts', vc_model_selection='ayaka-jp', hubert_model='zomehwh-hubert-base', language='en')
model.tts('Hello This Is A Test Text Anyway', save_path='./test.wav')
First of all we need to understand how AIwaifu Vocal Pipeline was design There's two components
First of all we get TTS voice from TTS pipeline, adn the we do voice conversion on it
in the TTS folder you'll found
if you wish to add your own TTS model please create a class in tts.py and in the function constructor please download the weight and cache it under the tts_base_model along with other cache file
# Example code
class CustomTTS:
def __init__(self) -> None:
from something import tts_library
self.model_link = 'Huggingface_link'
root = os.path.dirname(os.path.abspath(__file__))
self.model_root_path = f'{root}/base_tts_model/'
self.model_name = 'custom_tts'
model_path = f'{self.model_root_path}/{self.model_name}'
if not os.path.exist(model_path)
os.mkdir(model_path)
weigh_path = f'{model_path}/{self.model_name}.pth'
if not os.path.exist(weigh_path):
wget.download(self.model_link, weigh_path)
self.model = tts_library.load(weigh_path)
print(f'model {self.model_name} initialized')
def tts(self, text:str, save:boolean=True, your_args:any):
# some preprocessing
output = self.model.tts(text)
if save:
output.save('save_path')
return output
if you're not looking to add new language but just want to custom the model voice easily
Our recommendation is to just Train Voice Conversion pipeline on your own samples and added it to the zoo
FAQs
Easy and fast AI Waifu voice generation
We found that aivoifu demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.