Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
/ llm-rp Public archive

✨ Your Custom Offline Role Play with LLM and Stable Diffusion on Mac and Linux (for now) πŸ§™β€β™‚οΈ

Notifications You must be signed in to change notification settings

rbourgeat/llm-rp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Upgraded project here ==> ImpAI

The project is not deprecated but i just recode all the app in a new repository !





Code style: black

✨ Your Custom Offline Role Play with AI on Mac and Linux (for now) πŸ§™β€β™‚οΈ

LLM RP

πŸ“Ž Requirement

For now, Mac & Linux:

  • Python >= 3.8
  • pip install -r requirements.txt && python3 -m spacy download en_core_web_sm
  • Install git lfs

πŸ› οΈ Config

You can custom global variables at the top of app/run.py as you want.

For increase performance, you can reduce the generated images size, the number of iterations etc...

πŸ–οΈ Note: the output images folder is in app/images/

πŸ‘‰πŸ» Start

Each time you want to run the game:

python3 app/run.py

The first time you load the app you will wait a while, because the program will download, export and quantize the better llama model for your config and install stable diffusion.

Next open your browser at http://127.0.0.1:4242

Click on the πŸ—‘οΈ for reset le Role Play

You can customize the prompt here: prompts/RolePlay.txt

πŸ“ Todo

  • πŸ’Ύ Create a persistent role play (with save system)
  • πŸ–ΌοΈ Adding Quantized Stable Diffusion
  • πŸ› οΈ Compile for GPU Linux / GPU Windows
  • 🎀 Adding whisper.cpp
  • πŸ”‰ Adding Bark or an other Text-Prompted Generative Audio Model
  • πŸ”₯ Doing a better interface
  • πŸ”’ Lock user input when model generating response

πŸ”Ž Resources

About

✨ Your Custom Offline Role Play with LLM and Stable Diffusion on Mac and Linux (for now) πŸ§™β€β™‚οΈ

Topics

Resources

Stars

Watchers

Forks