fclip / README.md
pediot's picture
wip
1cd439e
metadata
title: fclip
emoji: πŸŒ–
colorFrom: purple
colorTo: yellow
sdk: docker
pinned: false
license: cc-by-nc-4.0
short_description: Generate text and image embeddings from clothing itmes

Install

Create SSH key

ls ~/.ssh/id_rsa.pub
ssh-keygen -t rsa -b 4096 -C "your-email@example.com"
cat ~/.ssh/id_rsa.pub

Add key to HF SSH key settings

Clone project

git clone git@huggingface.co:spaces/pdiot/fclip.git
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Usage

FastAPI

uvicorn app:app --host 0.0.0.0 --port 8080 --reload

Docker

docker build -t fclip . 
docker run -p 8080:7860 fclip