This is a fork of https://github.com/Vision-CAIR/MiniGPT-4 which also provides a simple ui and API.
Images are saved to a psql database see minigpt4/database/repository.py for the connection details.
Follow all instructions to setup MiniGPT-4 on the official repository linked above.
Run the server:
python api.py
Start the ui:
cd ui
npm start
The main changes from the original repository are the ui folder, the api.py file, the database folder and the minigpt4/service/minigpt4_service.py file. The rest is just refactoring and code clean up.