Coder Social home page Coder Social logo

tumblerwarren / virtual_avatar_chatbot Goto Github PK

View Code? Open in Web Editor NEW
86.0 5.0 8.0 2.83 MB

To create a free AI Chatbot/Waifu/ Vtuber that will run on your local computer with minimal GPU requirement.

Python 87.37% Batchfile 12.63%
avatar chatbot vtuber vtuber-bot

virtual_avatar_chatbot's Introduction

Dream-Shaper-v7-she-is-16-and-she-is-a-stylish-girl-in-Britain-3

🌟Yours Truly the AI Virtual Avatar Bot

πŸ’¬ The Ultimate Companion!

The Goal

To create a free AI Chatbot with visual movement that will run on your local computer with minimal GPU requirement.

Complete Video Installation Guide

Video Link-1 Video Link-2

Steps for installation

  • Make sure to install ffmpeg in your computer.
  • Install vtube studio.
  • Download the zip file.
  • Unzip it and rename Example env.txt to .env file using notepad.
  • Start Vtube Studio and toggle on "Start Api" from settings.
  • Double click to run the start.bat file.
  • Allow the plugin in Vtube studio.
  • In terminal, when Mic comes, press CTRL and then speak.

Features

  • Supports Oogbabooga
  • Supoorts betacharacter.ai
  • Supports Locall LLM running on Local Machine or Collab

Requirements βœ”οΈβœ”οΈ

If you run into any problems, you can go to the following website to report issues.

TROUBLESHOOTING

If you encounter any error or problem, please refer here before pulling an ISSUE.

DOCUMENTATION

🚧 Goals

  • Add Voicevox Functionality -- DONE βœ…
  • Supports Oogabooga Text Gen -- DONE βœ…
  • Supports Local LLM and Collab LLM inference.
  • Running the project without depending on beta.charecter.ai website, by runing llm model locally -- DONE βœ…
  • Give the waifu an access to the internet -- PENDING ⏳
  • All many more.

🀝 Contributions

AI Waifu Assistant is an open-source project, and we welcome any contributions from the community to make it even better! Here are some ways you can contribute:

πŸ‘‰ Bug Reporting: If you encounter any bugs while using the app, please report them in the issues section of the repository. Make sure to provide a clear description of the issue and steps to reproduce it.

πŸ”¨ Pull Requests: If you have a fix or improvement that you would like to contribute, you can create a pull request.

πŸ“ˆ Feature Requests: We also welcome feature requests from the community. If you have an idea for a new feature or improvement, you can submit it in the issues section of the repository.

πŸ‘ SUPPORT ME!

If you really like the project please support me through PayPal.

🎁 Credits

I used the following projects as my reference. My heartful gratitude to these guys!

πŸ˜‡ THANKS FOR THE SUPPORT!

  • Alexander Lewis

πŸ“ REFERENCES:-

desktop-waifu - Your ultimate companion!

CharacterAI - An unofficial API for Character AI for Python using Playwright.

Whisper - Whisper is a general-purpose speech recognition model.

PYVTS - A python library for interacting with the VTube Studio API.

COQUI-AI - TTS is a library for advanced Text-to-Speech generation.

VOICEVOX - The Voicevox Engine

VOICEVOX API - An unofficial API for python

LICENSE

Falls under The MIT License (MIT) Copyright Β© 2023

virtual_avatar_chatbot's People

Contributors

tumblerwarren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

virtual_avatar_chatbot's Issues

characterai.errors.NotFoundError

Traceback (most recent call last):
File "F:\Virtual_Avatar_ChatBot-master\main.py", line 120, in
run_program()
File "F:\Virtual_Avatar_ChatBot-master\main.py", line 100, in run_program
main()
File "F:\Virtual_Avatar_ChatBot-master\main.py", line 53, in main
utils.charecter.send_message(transcript)
File "F:\Virtual_Avatar_ChatBot-master\utils\charecter.py", line 17, in send_message
data = client.chat.send_message(CHARECTER_KEY, message_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Virtual_Avatar_ChatBot-master\venv\Lib\site-packages\characterai\characterai.py", line 383, in send_message
info = PostResponse(
^^^^^^^^^^^^^
File "F:\Virtual_Avatar_ChatBot-master\venv\Lib\site-packages\characterai\characterai.py", line 57, in PostResponse
goto(link, wait=wait, token=token)
File "F:\Virtual_Avatar_ChatBot-master\venv\Lib\site-packages\characterai\characterai.py", line 21, in goto
raise errors.NotFoundError(content.split('\n')[-1])
characterai.errors.NotFoundError: The requested resource was not found on this server.

startup shutsdown at the end

Hello, I have downloaded all the required software and put in all the API keys, when I run the startup everything works fine until the end. The mic will record my voice and transcribe it into text but after that the ai does not talk/respond and than the startup command automatically closes are it's done transcribing my voice. @TumblerWarren do you have a discord or anything? I'd love to communicate with you in real time to solve this issue. Thank you.

Failed to build python-crfsuite

Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Building wheels for collected packages: python-crfsuite
Building wheel for python-crfsuite (pyproject.toml) ... error
Failed to build python-crfsuite

Crash

Hello, i have a problem. When i try to run my vtuber it crashes after downloading dependencies. Here is the log(pip is upgraded already).
[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\nabok\AppData\Local\Temp\pip-req-build-uvialmlv'

[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "C:\Users\nabok\Desktop\AI\VTUBER\main.py", line 4, in
import utils.Elevenlabs
File "C:\Users\nabok\Desktop\AI\VTUBER\utils\Elevenlabs.py", line 9, in
ELEVENLABS_API=set_api_key(KEY)
File "C:\Users\nabok\Desktop\AI\VTUBER\venv\lib\site-packages\elevenlabs\simple.py", line 17, in set_api_key
os.environ["ELEVEN_API_KEY"] = api_key
File "C:\Users\nabok\AppData\Local\Programs\Python\Python310\lib\os.py", line 685, in setitem
value = self.encodevalue(value)
File "C:\Users\nabok\AppData\Local\Programs\Python\Python310\lib\os.py", line 743, in check_str
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not NoneType

Cuando presiono CTRL no graba

Hola, he resuelto el problema de la API de character ai, sin embargo todo se ejecuta bien pero al presionar la tecla para grabar simplemente no pasa nada, espero pueda ayudarme, gracias de antemano.

Mic not working when pressing CTRL

Everything works perfectly when i set the program with TEXT but when i use SPEECH the program does not recognize my CTRL so i cant talk to it. Is there any way to change the Key to speak? or any other way to solve this problem?

Elevenlabs Output problem

Hello,

I have a problem with my voice output, your project is working fine, thanks for that!

I canΒ΄t use my own created voice from elevenlabs, I donΒ΄t really know why but he donΒ΄t find my own created voice, the API key is correct and the name also, would it be possible to use it with a elevenlabs voice ID? (Each voice have a ID which allow to search for it)

My second problem is that the voice output is in a british aczent (I have a very well created german voice and the test voice is very good) but if I run the project and she speaks, its in a very british aczent because the script is using the default model instead of the multilangual model, is it possible to change this?
Also that the script is translating all in english when I speak it in german in my microphone, itΒ΄s kinda weird to see a english text then hehe

thanks in advance!

Error response

Hi!
I cloned this repo and installed the Python dependencies with

pip install -r requirements.txt

When I booted the app (startup.bat) it asked to connect with VTubeStudio and I allowed API connection.
But the problem comes when I give the mic input. The reponse is as follows:

You (mic) > Hi.
Error Response
AI:
You (mic) >    

The character just sighs and nothing more.

I already defined the ElevenLabs api key in the .env file.
Also, this app is completely liberated in firewall and ativirus.

Also asking: are the keys PYCHAI and CHARECTER_KEY mandatory?

I cant get the API key from character ai

Hello, i follow the instructions for get the API key from character AI, but when I enter the command as the instruction says it does not appear, please help me.

The app keeps breaking for no apparent reason

Apparently, after downloading the batch file, it wouldn't install Whisper properly
I then edited the batch file a little to correct the code

For some reason, it still breaks. Even the log doesn't show anything bad

No error code is shown either on the batch file windows or on the log file
Log: log.txt
I cannot submit a screenshot since it happens too quickly for me to take a photo of

PS thanks for responding quickly to our concerns!

Edit: I've stopped npx install playwright or smth like that since it was breaking. Now i'm running into another error

Traceback (most recent call last): File "C:\Users\USER\Downloads\Waifu-master (1)\Waifu-master\main.py", line 5, in <module> import utils.Elevenlabs File "C:\Users\USER\Downloads\Waifu-master (1)\Waifu-master\utils\Elevenlabs.py", line 9, in <module> ELEVENLABS_API=set_api_key(KEY) File "C:\Users\USER\Downloads\Waifu-master (1)\Waifu-master\venv\lib\site-packages\elevenlabs\simple.py", line 9, in set_api_key os.environ["ELEVEN_API_KEY"] = api_key File "C:\Python310\lib\os.py", line 685, in __setitem__ value = self.encodevalue(value) File "C:\Python310\lib\os.py", line 743, in check_str raise TypeError("str expected, not %s" % type(value).__name__) TypeError: str expected, not NoneType

FEATURE: Voicevox

can u pretty pls add voicevox japanese support where it uses voicevox and translates character.ai to japanese so it speaks in japanese in whatever voicevox girl u pick plsplsplsplspslplsplspls

Problem with launch voicevox_startup.bat with llm model

after I passed everything according to the instructions for this and renaming env.txt in .env, I changed, set the requirements, downloaded vtube studio from the api, but still got an error:

You (microphone) > Hello
Error response
AI:
information:     127.0.0.1:58204 - "GET /generate_voice/?text=&speaker_id=2&path=C%3A%5CUsers%5CSevex%5CVirtual_Avatar_ChatBot%5Cutils%5C..%5Cutils%5Cresource%5Cvoice_out%5Cvoicevox. wav HTTP/1.1" 500 Internal Server error
Error: The voice could not be generated. Status code: 500
Feedback (last call):
  File "C:\Users\Sevex\Virtual_Avatar_ChatBot\main.py ", line 177, in <module>
    run_program()
File "C:\Users\Sevex\Virtual_Avatar_ChatBot\main.py ", line 157, in run_program
    main()
File "C:\Users\Sevex\Virtual_Avatar_ChatBot\main.py ", line 89, in main
    utils.vtube_studio.speak()
File "C:\Users\Sevex\Virtual_Avatar_ChatBot\utils\vtube_studio.py ", line 61, in speak
utils.audio.play_wav(memfile, set_audio_level)
  File "C:\Users\Sevex\Virtual_Avatar_ChatBot\utils\audio.py ", line 84, in play_wav
    audio_file = wave.open(path)
                 ^^^^^^^^^^^^^^^
  File "C:\Users\Sevex\AppData\Local\Programs\Python\Python311\Lib\wave.py ", line 631, in plain text
    returns Wave_read(f)
           ^^^^^^^^^^^^
  File "C:\Users\Sevex\AppData\Local\Programs\Python\Python311\Lib\wave.py ", line 279, in __init__
    f = builtins.open(f, 'rb')
        ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Error 2] There is no such file or directory: 'C:\\Users\\Sevex\\Virtual_Avatar_ChatBot\\utils\\resource\\Voice_out\\voicevox.wav '
[9100:0109/232554.478:ERROR:gpu_init.cc(486)] End-to-end access is not supported, GL is disabled, the ANGLE is

image

ALSO here is my .env file
image

Where should i put beta character key

#Enter your desired chatbot || oogabooga or betacharacter
CHATBOT_SERVICE=betacharacter

#If you have selected chatbot as oogabooga please enter the name of the charceter card you uploaded.
CHARACTER_CARD = Ayaka

#Only if you are using oogabooga, enter your name that you entered while creating Character card. Typically USER,YOU or if have entered your name.
your_name = Warren

#Enter your PyChai API, How to link :- https://pycai.gitbook.io/welcome/api/values
PYCHAI=Enter your charecter.ai API.

#Enter your charecter key, How to link :- https://pycai.gitbook.io/welcome/api/values
CHARECTER_KEY= Charecter Token here

#Enter your Text to Speech Choice | ELEVENLABS or LOCAL_TTS or VOICEVOX(Japanese Only)
TTS_CHOICE = VOICEVOX

#If you have selected Voicevox, enter the voice ID, you can find the voice id from docs VOICEVOX_HELP.
VOICE_ID=2

#Do you have GPU/CUDA, if yes then write True else write False
CUDA_STATUS=True

#Enter your Elevenlabs Api key, How to link :- https://docs.elevenlabs.io/api-reference/quick-start/authentication
ELEVENLAB_KEY= YOUR API

#If you have selected Elevenlabs, enter you model of choice. You can see examples from Elevenlabs website.
VOICE_MODEL=Elli

#Enter your whisper model, see VRAM requirement for further details at whisper Github | tiny, base, small
WHISPER_MODEL=base

#Want to speak in english or your native language | TRANSCRIBE, TRANSLATE
WHISPER_CHOICE=TRANSCRIBE

mic

when i click on ctrl the mic doesn't activate
mic

Python was not found

Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases. (i do hv python installed in my system - python 11 )

Failed building wheel for TTS

Hi hi, i saw that there were some updates but when i tried them i got an error with the setup

" ERROR: Failed building wheel for TTS
ERROR: Could not build wheels for TTS, which is required to install pyproject.toml-based projects"

I still have an older version of this that works perfectly
log.txt
. But this version gives me this error and crashes afterwards. Is there any solutions?

issues

Traceback (most recent call last):
File "E:\Waifu\main.py", line 109, in
run_program()
File "E:\Waifu\main.py", line 89, in run_program
main()
File "E:\Waifu\main.py", line 46, in main
utils.charecter.send_message(transcript)
File "E:\Waifu\utils\charecter.py", line 17, in send_message
data = client.chat.send_message(CHARECTER_KEY, message_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Waifu\venv\Lib\site-packages\characterai\characterai.py", line 383, in send_message
info = PostResponse(
^^^^^^^^^^^^^
File "E:\Waifu\venv\Lib\site-packages\characterai\characterai.py", line 82, in PostResponse
raise errors.ServerError(response.status_text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
characterai.errors.ServerError: Unauthorized

Elevenlabs API issue?

Tried to install but console keeps crashing, got this in my log file

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
D:\Waifu-master\venv\Scripts\python.exe: No module named playwright
DEPRECATION: unidic-lite is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: jieba is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: gruut-lang-fr is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: gruut-lang-es is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: gruut-lang-en is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: gruut-lang-de is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: bnunicodenormalizer is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: bnnumerizer is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: gruut-ipa is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: audioread is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
DEPRECATION: pyvts is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "D:\Waifu-master\main.py", line 4, in
import utils.Elevenlabs
File "D:\Waifu-master\utils\Elevenlabs.py", line 9, in
ELEVENLABS_API=set_api_key(KEY)
File "D:\Waifu-master\venv\lib\site-packages\elevenlabs\simple.py", line 10, in set_api_key
os.environ["ELEVEN_API_KEY"] = api_key
File "C:\Python310\lib\os.py", line 685, in setitem
value = self.encodevalue(value)
File "C:\Python310\lib\os.py", line 743, in check_str
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not NoneType

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\kaj7\AppData\Local\Temp\pip-req-build-c7wty_4y'

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "D:\Waifu-master\main.py", line 4, in
import utils.Elevenlabs
File "D:\Waifu-master\utils\Elevenlabs.py", line 9, in
ELEVENLABS_API=set_api_key(KEY)
File "D:\Waifu-master\venv\lib\site-packages\elevenlabs\simple.py", line 10, in set_api_key
os.environ["ELEVEN_API_KEY"] = api_key
File "C:\Python310\lib\os.py", line 685, in setitem
value = self.encodevalue(value)
File "C:\Python310\lib\os.py", line 743, in check_str
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not NoneType

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\kaj7\AppData\Local\Temp\pip-req-build-r2zrpbct'

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "D:\Waifu-master\main.py", line 4, in
import utils.Elevenlabs
File "D:\Waifu-master\utils\Elevenlabs.py", line 9, in
ELEVENLABS_API=set_api_key(KEY)
File "D:\Waifu-master\venv\lib\site-packages\elevenlabs\simple.py", line 10, in set_api_key
os.environ["ELEVEN_API_KEY"] = api_key
File "C:\Python310\lib\os.py", line 685, in setitem
value = self.encodevalue(value)
File "C:\Python310\lib\os.py", line 743, in check_str
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not NoneType

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\kaj7\AppData\Local\Temp\pip-req-build-iapa0y9c'

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

[notice] A new release of pip is available: 23.0.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "D:\Waifu-master\main.py", line 4, in
import utils.Elevenlabs
File "D:\Waifu-master\utils\Elevenlabs.py", line 9, in
ELEVENLABS_API=set_api_key(KEY)
File "D:\Waifu-master\venv\lib\site-packages\elevenlabs\simple.py", line 10, in set_api_key
os.environ["ELEVEN_API_KEY"] = api_key
File "C:\Python310\lib\os.py", line 685, in setitem
value = self.encodevalue(value)
File "C:\Python310\lib\os.py", line 743, in check_str
raise TypeError("str expected, not %s" % type(value).name)
TypeError: str expected, not NoneType

any help would be greatly appreciated!

start up still closes at the end pt.3 bug

StartApp_log.txt

From Log I can see that it has some issues with ELEVENLABS but VOICEVOX is selected.

#Enter your input choice || Speech or Text
INPUT_CHOICE=Text

#Enter your desired chatbot || oogabooga or betacharacter or local_llm or collab_llm
CHATBOT_SERVICE=local_llm

#Enter the Ngrok URL which you have got from Google Collab.
ngrok_url=https://90d8-34-32-215-157.ngrok-free.app

#If you have selected chatbot as oogabooga please enter the name of the charceter card you uploaded.
CHARACTER_CARD = Ayaka

#Only if you are using oogabooga, enter your name that you entered while creating Character card. Typically USER,YOU or if have entered your name.
your_name = Warren

#Enter your PyChai API, How to link :- https://pycai.gitbook.io/welcome/api/values
PYCHAI=

#Enter your charecter key, How to link :- https://pycai.gitbook.io/welcome/api/values
CHARECTER_KEY=

#Enter your Text to Speech Choice | ELEVENLABS or VOICEVOX(Japanese Only) |LOCAL_TTS is out of support now,I will add it after fixing the problem
TTS_CHOICE = VOICEVOX

#If you have selected Voicevox, enter the voice ID, you can find the voice id from docs VOICEVOX_HELP.
VOICE_ID=2

#Do you have GPU/CUDA, if yes then write True else write False
CUDA_STATUS=True

#Enter your Elevenlabs Api key, How to link :- https://docs.elevenlabs.io/api-reference/quick-start/authentication
ELEVENLAB_KEY=

#If you have selected Elevenlabs, enter you model of choice. You can see examples from Elevenlabs website.
VOICE_MODEL=

#Enter your whisper model, see VRAM requirement for further details at whisper Github | tiny, base, small
WHISPER_MODEL=base

#Want to speak in english or your native language | TRANSCRIBE, TRANSLATE
WHISPER_CHOICE=TRANSCRIBE

macos

how can i use this on a macbook pls ?

Help

When I try to run Setup.bat, after a while an error appears saying Failed to build TTS. and I don't know what to do

Not working lol

I started setup, let it complete, then i started the Start_App.bat. No Interface is Opening, only CMD showing None

Startup not working

Been trying to get this to work but hit a hurdle on the startup bat file stopping without any error, any ideas? here's the log
log.txt

elevenlabs character limit

Hello @TumblerWarren , thank you for the solutions to my previous issues, the program works perfectly fine now, you were right I had the character API and the token switched which was the issue. I was wondering if there was any way for you to find a way for a free alternative to elevenlabs because currently elevenlabs has a free monthly character limit of 10,000 a month and I am already at 4000. So I was wondering if you could add a free alternative to where the program could be run with no limitations or restrictions. Perhaps some sort of free unlimited TTS similar to elevenlabs?
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.