A simple app to chat with GPT-4o and send images.
This particular app uses OpenAI's GPT-4o API to generate responses to your messages. You can easily change the code to use any other API or model.
You need an OpenAI account with an active API key
- Clone this repo:
git clone https://github.com/Avaiga/demo-gpt-4o.git
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory with the following content:
OPENAI_API_KEY=[YOUR_OPENAI_API_KEY]
- Run the app:
python main.py