Skip to content

weebao/clothestok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClothesTok - TikTok TechJam 2024

banner

An AI clothes recommender trained on TikTok best fashion influencers

Devpost Link

What is this about?

The current TikTok's recommendation algorithm is using inputs on how users interact with videos to recommend products from TikTok shop, which is already very effective. ClothesTok hopes to elevate this even more and enhance users' tailored discovery of clothing shops by taking the user's visual features into consideration when recommending clothes products.

Demo

ClothesTok

Table of Contents

Installation

Clone this repository

git clone https://github.com/weebao/clothestok.git

Install the necessary modules for the backend

cd backend
pip install -r requirements.txt

Do the same for the frontend

cd frontend
npm install

Running the app

To run this app in development mode, you will need to run both the backend and the frontend at the same time locally.

  • Running the backend:
cd backend
uvicorn main:app --reload
  • Running the frontend:
cd frontend
npm run dev

Implementation

Tech stacks:

  • Backend: FastAPI, SegFormer, Torch, Scikit-learn, Deployed on Render - 512 MB RAM so it might not run if too many people are using
  • Frontend: Next.js, TailwindCSS, Deployed on Vercel
  • APIs used: TikTok's API, HuggingFace's API

Backend Architecture

architecture

Members

Acknowledgements

Special shoutout for @levihsu for the powerful OOT diffusion model which was a great help when building our products!

Back to top