image2coloringbook / README.md
shawnljw
add link to spaces
ddea58e

A newer version of the Gradio SDK is available: 5.12.0

Upgrade
metadata
title: image2coloringbook
emoji: ✏️
colorFrom: red
colorTo: indigo
sdk: gradio
sdk_version: 3.46.0
app_file: app.py
pinned: false

image2coloringbook

image2coloringbook

A simple tool that converts an image into a coloring book. It runs on a custom implementation of the k-means clustering algorithm by default but comes with the option to use scikit-learn's implementation.

This Colab notebook explains how the coloring books are generated.

Usage

The application is available as a Hugging Face space.

To run the application locally, clone this repo and open the directory in your terminal.

Install all requirements with pip:

pip install -r requirements.txt

Once all requirements are installed, you can run the web ui with:

gradio app.py