ajitesh123 / AI-Stylist

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!
MIT License
1 stars 0 forks source link

Sweep: Add Fashion Advisor Feature with GPT-4 #9

Closed sweep-ai-self-hosted-aj[bot] closed 4 days ago

sweep-ai-self-hosted-aj[bot] commented 1 week ago

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:

  1. Replaced the Gradio interface with a Streamlit interface to provide a more user-friendly experience.
  2. 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.
  3. Updated the README.md file to reflect the new purpose and functionality of the application.

Summary

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.

sweep-ai-self-hosted-aj[bot] commented 1 week ago

Rollback Files For Sweep

This is an automated message generated by Sweep AI.