python=3.10 and you need to install the python dependence first
pip install -r requirements.txt
export API_KEY="<your_api_key>"
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/registerPython
99.9%
python=3.10 and you need to install the python dependence first
pip install -r requirements.txt
export API_KEY="<your_api_key>"
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/registerPython
99.9%