Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orengrinker/gpt4oimage
This project is a Streamlit web application that leverages OpenAI's GPT-4o to generate descriptions for uploaded images
https://github.com/orengrinker/gpt4oimage
gpt4-api gpt4o gpt4o-mini gpt4omini image image-description openai-api
Last synced: 2 months ago
JSON representation
This project is a Streamlit web application that leverages OpenAI's GPT-4o to generate descriptions for uploaded images
- Host: GitHub
- URL: https://github.com/orengrinker/gpt4oimage
- Owner: OrenGrinker
- Created: 2024-05-14T16:47:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T05:17:12.000Z (7 months ago)
- Last Synced: 2024-07-19T13:21:02.648Z (7 months ago)
- Topics: gpt4-api, gpt4o, gpt4o-mini, gpt4omini, image, image-description, openai-api
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 8
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Description using GPT-4o
This project is a Streamlit web application that uses OpenAI's GPT-4o and GPT-4o mini to generate descriptions for uploaded images.
## Features
- Upload an image (jpg, jpeg, png).
- Get a description of the image using GPT-4o.
- User-friendly interface.## Setup
1. Clone the repository:
```bash
git clone https://github.com/OrenGrinker/gpt4oimage.git
cd gpt4oimage
```2. Install the required packages:
```bash
pip install -r requirements.txt
```3. Run the app:
```bash
streamlit run app.py
```4. Open your browser and go to `http://localhost:8501` to use the app.
## Usage
- 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.## Contributing
Feel free to open issues or submit pull requests for any improvements or bug fixes.
## License
This project is licensed under the MIT License.