- the project run in
python=3.10and you need to install the python dependence firstpip install -r requirements.txt
- set the API KEY for your chatGLM, you can set it by
export API_KEY="<your_api_key>"
- Run the project by
python app.py
There is some settings you can change in the constants.py
USE_CACHE: set True to use the chatglm response cache in local fileUSE_DEFAULT_USER: use it to disable the user system, so that you can use the project without login/register