ChatGpt-Extensions is a set of services using Flask server that allow chatgpt-personality-selector to give chatgpt access to other tools like BLIP and Stable diffusion.
To install the application, follow these steps:
- Clone the repository:
git clone https://github.com/ParisNeo/chatgpt_extensions
- Navigate to the project directory:
cd chatgpt_extensions
- Run the installation script:
install.bat
(Windows) orinstall.sh
(Linux/macOS). If you don't have a cuda capable device or, you may install the cpu version usinginstall_cpu.bat
(Windows) orinstall_cpu.sh
(Linux/macOS).
This will donwload and install pytorch and all required modules (such as BLIP)
To launch the application, run the appropriate launch script for your operating system:
- Windows:
run.bat
- Linux/macOS:
./run.sh
# Launch the application
./run.sh # Linux/macOS
run.bat # Windows
This will automatically activate the virtual environment and launch the application.
This application requires the following dependencies:
- Python 3.7 or higher
Here are the extensions
ChatGpt-Blip is a web application that allows users to interact with two AI models: ChatGpt and BLIP. ChatGpt is a large language model trained by OpenAI, while BLIP is a local image question-answering system.
Note that you need to have Python 3.7 or higher installed.
To use ChatGpt-Blip, follow these steps:
- Start the Flask server:
python app.py
This will start a local server that can receive an image and a bunch of questions about the image, and then answer them.
-
Open a webpage with ChatGpt loaded and the ChatGpt-Personality-Selector extension enabled.
-
In the Personality settings ui, select the language, in categories, select Image Enabled ChatGPT, in personality select Image understanding, then select the image you want to describe and hit Apply personality.
-
Now just wait and watch the two AI talking to each other until chatgpt ends the discussion saying VERDICT and shows you its description of the image.
-
At the end, ChatGpt will describe the image in detail.
ChatGpt-Blip is based on two AI models: ChatGpt by OpenAI and BLIP by Junnan Li et al.
To contribute to this project, follow these steps:
- Fork the repository
- Create a new branch: git checkout -b my-feature-branch
- Make changes and commit them: git commit -am 'Add new feature'
- Push your changes to your fork: git push origin my-feature-branch
- Open a pull request on the original repository
This software is licensed under the MIT License. See the LICENSE file for details.