Interactive story generator based on generative models.
The goal of this project is to make an interactive, infinitely replayable text-based game.
To play this game, you need to install all the necessary libraries by executing the following command.
$pip install -r requirements.txt
Note that requirements.txt
is in the repository.
Additionally, You need to install a CUDA-enabled Torch library form here.
To play this game, you'll need an OpenAI API key.
The game utilizes an environment variable named OPENAI_API_KEY
as the key for authentication.
Refer to this page for more details.
You need enough VRAM and DRAM capacity to load models and perform inferences with them.
- Run
main.py
to start the game. - Click the
New Game
button and provide necessary information for story generation. - Click the
Confirm
button - Wait for texts, images, and audios to be generated.
- Enter your response in the entry below and click the
Send
button. - New texts, images, and audios will be generated. Return to step 5.