Skip to content

RPG(Red Post generator) is a tool for generating Red Book (China social media) style post

Notifications You must be signed in to change notification settings

RottenTangerine/RPG-RedPostGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Post Generator (RPG)

preview

Prequest

Create python venv

python -m venv venv

Install Python dependencies

pip install -r requirements.txt

Install React dependencies

cd frontend
npm install

# build static webpage
npm run build

Config

Add config.json file in your root path (I use Azure OpenAI resource here)

config.json:

{
  "OpenAI": {
    "endpoint": "YOUR ENDPOINT",
    "key": "YOUR API KEY",
    "model": "MODEL DEPLOYMENT NAME"
  }
}

Test project

  1. Run backend web service (Flask)
cd backend
flask run

Description

TBD

About

RPG(Red Post generator) is a tool for generating Red Book (China social media) style post

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published