- First initialize conda environment by executing
initialize.sh
- Attain an api key from Google AI Studio
- If you are going to use a fine-tuning model, finish these steps and copy the
client_secret.json
under the project root directory. - Add your api key into project by editing
config.py
- Complete the prerequisite steps
- Prepare a small introduction of your character like
test/yoi_prompt.txt
- Prepare a piece of character initial memory like
test/yoi_memory.txt
- Activate conda environment by executing
conda activate cyberWaifuV2
- Execute
python app.py --new
to create a new character in accordance with instructions
- Complete the prerequisite steps and make sure you have already added your character
- Execute
python app.py -c [charName] -u [yourName] -f
- Complete the prerequisite steps
- Downloads and installs livekit-server
- Follow the instructions in the livekit-server repository to set up the server
- Setup nginx to reverse proxy the livekit server. Example nginx configuration file is given in the blob directory.
- Use
make start_livekit
to start the livekit server