Youtube Autónomo AI Utils
The AI functionality we need to interact with the Youtube Autónomo project.
This project needs:
- Variable GEMINI_API_KEY need to be set to be able to use Google Gemini chat assistant.
- Variable PRODIA_API_KEY need to be set to be able to generate images with Prodia platform.
Project structure
- yta_ai_utils is the code of the library
- output folder is for any generated file
- resources is for any file that is needed by the library
Custom libraries
There are some libraries that need special installation as they are not public through _pip install_ command.
==> MeloTTS
This library is not published in pypi, so we need to use the "pip install git+https://github.com/myshell-ai/MeloTTS.git" command to install it from the official repo. Also, use the "python -m unidic download" command to install any missing dictionary.
Here you have the official guide for any trouble (https://github.com/myshell-ai/OpenVoice/blob/main/docs/USAGE.md#quick-use).
==> OpenVoice
TODO: ¿Quizás probar "pip install git+https://github.com/myshell-ai/OpenVoice.git"? Como MeloTSS This library is not published in pypi, so we need to handle it manually. First, we need to clone the official project with the "git clone https://github.com/myshell-ai/OpenVoice.git" command. Once downloaded, you install it by using the "pip install ./OpenVoice" command. Once installed, we need to manually change a line in the "se_extractor.py" file to let the model instantiation line use only the first argument (there are 3, but we cannot work with cuda nor float16). Please, read this official guide if any trouble (https://github.com/Alienpups/OpenVoice/blob/main/docs/USAGE_WINDOWS.md), and for downloading the "checkpoints_v2" we need to work. Place them in the project. If you have any trouble with languages, use the "python -m unidic download" command.
This library is for voice cloning and uses the MeloTTS library described in the previous step.
Metadata
Release files for yta-ai-utils 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yta_ai_utils-0.0.12.tar.gz | 38.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yta_ai_utils-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.0 kB
Release files / yta_ai_utils-0.0.12.tar.gz
| Download URL | yta_ai_utils-0.0.12.tar.gz |
|---|---|
| Size | 38.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ba96631c52b439e3ac66ad4d7edb544e4976a5f57e1d2dbea0e17b3b78a6a96
|
|
BLAKE2b-256 checksum How to use checksums |
188880bef2585869fdb39d51ba1639d475d19538f5cc1a765804b4755f3b2a5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.9.0 Windows/10
|
Release files / yta_ai_utils-0.0.12-py3-none-any.whl
| Download URL | yta_ai_utils-0.0.12-py3-none-any.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
891b5f8d843bebbae60346a215d40726f987c9483f124f4652313d67ccca21a9
|
|
BLAKE2b-256 checksum How to use checksums |
28a8bc11b621db00fb621895c00bc0eb648982e59074f3dc510513229ce4e7f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.9.0 Windows/10
|