Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available: 6.13.0
metadata
title: Style Master
emoji: 😻
colorFrom: indigo
colorTo: purple
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
license: unlicense
This project uses OpenAI large language models (LLMs) to create the recommendation engine for an e-commerce clothing store.
Running Locally
- Install packages
make install
- Set up your environment variables
cp .env.example .env
- Update the environment variables in
.env, e.g.,OPENAI_API_KEY, according to your needs.
- (optional) Process garment images
This step is needed only when you have changed the garment images and/or manifest info.
make process
if
GARMENTS_FILE_PATHdoesn't exist, the script will call GPT-4 Vision API to generate metadata for garment images stored inGARMENT_MANIFEST_FILE_PATHfolder. A new fileGARMENTS_FILE_PATHwill be created.if
GARMENTS_FILE_PATHalready exists, the script will NOT call GPT-4 Vision API. The fileGARMENTS_FILE_PATHwill be updated with the latest data fromGARMENT_MANIFEST_FILE_PATHfile.
- Run automated test cases
make test
- Run Gradio web app
make start