Voice To Japanese is an app with UI. You can use it to:
Full demo and setup guide: https://youtu.be/qEbn44m3Ty0
(please unmute the video)
Download the "VoiceToJapanese-exe.zip" file from the releases section (https://github.com/0Xiaohei0/VoiceToJapanese/releases)
Run the .exe file inside. No additional setup is required.
Noes: I would recommend downloading the -py version because anti-virus often report false-positive for .exe files. Additionally, with the -py version you can inspect and make changes to all the python code and swap out libraries for running the AI models on GPU.
For info on how to use the program, see the full demo video: https://youtu.be/qEbn44m3Ty0
To play the audio in other programs (discord, apex etc.) Here's a tutorial video: https://youtu.be/cPGyEeeMxCE
We have a discord server where you can try this tool with other people, troubleshoot your issues and suggest features: https://discord.gg/EEcDgN9wJJ
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
You need to open a terminal in the files folder and run the following commands.
.venv\Scripts\activate.bat
pip uninstall torch
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
Once you have them both installed, run
python
then
import torch
torch.cuda.is_available()
if it returns True then whisper is running on GPU.
Try the exe version here: https://github.com/0Xiaohei0/VoiceToJapanese/releases/download/v1.2.3/VoiceToJapanese.v1.2.3-exe.zip It requires no setup, just unzip and run the exe file inside. Anti virus may complain about exe files, just click run anyway. If you do not trust the exe file, or want to modify the code, you need to troubleshoot why the setup script failed. This error message means setup.py didn't install the required libraries successfully. Run setup.py and check the console for error message. Most common error is using incorrect python version which should be 3.10.
Check the console for actual error message, if you see "exceeded current quota", it usually means your openai free credits expired. Solution is to upgrade to paid plan, or create new accounts to try and get new free credit.
The transcriber often transcribes silence into "you". Make sure you selected the correct input device in settings and check if the mic meter is moving.
You need to go here https://elevenlabs.io/docs/api-reference/get-voices Select header under GET voices and paste your API key, download the result as a file. Rename it to elevenlabVoices.json and replace the elevenlabVoices.json in the VoicetoJapanese folder.
This project was inspired by this video: https://youtu.be/UY7sRB60wZ4
Credit to @sociallyineptweeb for the ideas and APIs used.