OpenAI GPT-4 With Vision 🔥 This repository features an outfit rating app using OpenAI's GPT-4 with the Vision extension. Users can upload images through a Streamlit interface, and the app provides both a fashion stylist's and a mother's verdict on the outfit. Contributions are welcome!
This pull request adds a new feature to the application that allows users to get fashion advice from GPT-4. Users can upload images of clothing items and select a role (Fashion Stylist or Mother) for GPT-4 to provide advice on whether to keep or return the item, along with a justification for the decision.
Description
The main changes in this pull request are:
Replaced the Gradio interface with a Streamlit interface to provide a more user-friendly experience.
Added a new function ask_openai_with_image that takes the uploaded image and the selected role as input, and sends the image to the OpenAI API to get a response from GPT-4.
Updated the README.md file to reflect the new purpose and functionality of the application.
Summary
Updated app.py to use Streamlit instead of Gradio
Added a new function ask_openai_with_image to interact with the OpenAI API
Updated the README.md file to describe the new Fashion Advisor feature
Fixes #7.
[!TIP]
To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
This is an automated message generated by Sweep AI.
Purpose
This pull request adds a new feature to the application that allows users to get fashion advice from GPT-4. Users can upload images of clothing items and select a role (Fashion Stylist or Mother) for GPT-4 to provide advice on whether to keep or return the item, along with a justification for the decision.
Description
The main changes in this pull request are:
ask_openai_with_image
that takes the uploaded image and the selected role as input, and sends the image to the OpenAI API to get a response from GPT-4.Summary
app.py
to use Streamlit instead of Gradioask_openai_with_image
to interact with the OpenAI APIREADME.md
file to describe the new Fashion Advisor featureFixes #7.
This is an automated message generated by Sweep AI.