Skip to content

This project is a Streamlit web application that leverages OpenAI's GPT-4o to generate descriptions for uploaded images

Notifications You must be signed in to change notification settings

OrenGrinker/Gpt4oImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

    git clone https://github.com/OrenGrinker/gpt4oimage.git
    cd gpt4oimage
  2. Install the required packages:

    pip install -r requirements.txt
  3. Run the app:

    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.

About

This project is a Streamlit web application that leverages OpenAI's GPT-4o to generate descriptions for uploaded images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages