title | app_file | sdk | sdk_version |
---|---|---|---|
LRPG |
demo_hf_space.py |
gradio |
4.37.2 |
This project is demo of TRPG using LLM (Solar) with korean.
You can enjoy your own rpg on your own world. You can make any decision, then llm game master will handle them.
This demo version can be played in gradio. You can choose harry potter (example) or generate your own world.
You can play the demo version on huggingface space (https://huggingface.co/spaces/pizb/LRPG)
Consist of
- World Preparation
- Character Preparation
- Game Play
- Solar
- Graph db (WIP)
- Clone this repository and install packages
pip install -r requirements.txt
-
Create .env file with your own api key (UPSTAGE_API_KEY: required, OPENAI_API_KEY(with credit): only required when you use image generation)
-
Execute demo file
python demo.py
or
gradio demo.py