This project is a Streamlit web application that uses OpenAI's GPT-4o and GPT-4o mini to generate descriptions for uploaded images.
- Upload an image (jpg, jpeg, png).
- Get a description of the image using GPT-4o.
- User-friendly interface.
-
Clone the repository:
git clone https://github.com/OrenGrinker/gpt4oimage.git cd gpt4oimage
-
Install the required packages:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
-
Open your browser and go to
http://localhost:8501
to use the app.
- Enter your OpenAI API key.
- Choose the model (GPT-4o / GPT-4o mini)
- Enter a prompt for image description.
- Upload an image and get the description.
Feel free to open issues or submit pull requests for any improvements or bug fixes.
This project is licensed under the MIT License.