Spaces:
Running
Running
File size: 7,804 Bytes
768f9c8 fa05780 768f9c8 c18408c fb96910 950cd90 b0e8cde 2f33e3f 91d7984 fb96910 768f9c8 fa05780 768f9c8 fa05780 fb96910 081ea2b fa05780 768f9c8 ff3d3c2 fa05780 ff3d3c2 fb96910 fa05780 ff3d3c2 fa05780 ff3d3c2 fb96910 ff3d3c2 f964d0b ff3d3c2 c18408c fb96910 ba2f7c9 c18408c f964d0b c18408c f964d0b fb96910 f964d0b 32ea0d8 f964d0b 32ea0d8 f964d0b c18408c c1757bc f8533b6 fb96910 f8533b6 c1757bc f8533b6 c1757bc f8533b6 768f9c8 c1757bc fb96910 c1757bc 950cd90 b0e8cde 91d7984 b0e8cde 2f33e3f 91d7984 2f33e3f 91d7984 5071f3b 7d7dcb9 91d7984 2f33e3f 768f9c8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
import gradio as gr
theme = gr.themes.Base(
text_size=gr.themes.Size(lg="16px",
md="20px", # body
sm="12px",
xl="40px", # h2
xs="10px",
xxl="50px", # h1
xxs="9px"),
#spacing_size="lg",
)
css = """
h1, h2{
text-align: center;
}
"""
with gr.Blocks(theme=theme, css=css) as demo:
# Title
gr.Markdown("""
# AI and Fashion E-Commerce
<center> by <a href="https://www.tonyassi.com/" target="_blank">Tony Assi</a> </center>
<br>
<center><i> A collection of projects I've done at the intersection of AI and fashion e-commerce, with an emphasis on computer vision and stable diffusion. </i></center>
---
Table of Contents
1. [Virtual Try-On](#1)
2. [Sales Forecasting with Image Regressionn](#2)
3. [Text-to-Image Clothing Designer](#3)
4. [Sketch to Fashion Design](#4)
5. [Segment Clothing](#5)
6. [Clothing Search by Sketch](#6)
7. [Image to Fashion Article](#7)
8. [Clothing Feature Prediction](#8)
9. [Clothing Decade Prediction](#9)
10. [Stylist Bot](#10)
11. [Text-to-Image from an Editorial Campaign](#11)
""")
# Virtual Try-On
gr.Markdown("""
---
## Virtual Try-On <a name="1"></a>

Virtually try-on clothing by submitting your image and a clothing image. A novel approach to VTO using IP-Adapter inpainting and body segmentation. [Read more](https://huggingface.co/blog/tonyassi/virtual-try-on-ip-adapter)
[](https://huggingface.co/spaces/tonyassi/fashion-try-on)
[](https://colab.research.google.com/drive/1d-NJNLdX6dqs5Qfm1UYDQknBrhwZXx7R?usp=sharing)
""")
# Sales Forecasting with Image Regression
gr.Markdown("""
---
## Sales Forecasting with Image Regression <a name="2"></a>

Predict sales from a product image. Image regression training, hosting, and inference. [Read more](https://huggingface.co/blog/tonyassi/image-regression)
[](https://github.com/TonyAssi/ImageRegression)
[](https://huggingface.co/tonyassi/sales-prediction)
""")
# Text-to-Image Clothing Designer
gr.Markdown("""
---
## Text-to-Image Clothing Designer <a name="3"></a>

This text-to-image model was fine-tuned on [Lucy in the Sky](https://www.lucyinthesky.com/) product image - product text pairs. Text input is limited to the language of the product catalog it was trained on which forces the model to generate images in a simialr style to the product images.
[](https://huggingface.co/spaces/LucyintheSky/lucy-text-to-image)
""")
# Sketch to Fashion Design
gr.Markdown("""
---
## Sketch to Fashion Design <a name="4"></a>

Convert a sketch into a photorealistic garment on a model.
[](https://huggingface.co/spaces/tonyassi/sketch-to-fashion-design)
""")
# Segment Clothing
gr.Markdown("""
---
## Segment Clothing <a name="5"></a>

Segment clothing from an image.
[](https://huggingface.co/spaces/tonyassi/clothing-segmentation)
[](https://github.com/TonyAssi/Segment-Clothing)
""")
# Clothing Search by Sketch
gr.Markdown("""
---
## Clothing Search by Sketch <a name="6"></a>

Search for a clothing by sketching it.
[](https://huggingface.co/spaces/tonyassi/sketch-to-fashion-collection)
""")
# Image to Fashion Article
gr.Markdown("""
---
## Image to Fashion Article <a name="7"></a>

[](https://huggingface.co/spaces/tonyassi/image-to-fashion-article)
""")
# Clothing Feature Prediction
gr.Markdown("""
---
## Clothing Feature Prediction <a name="8"></a>

Predicts anywhere between 0-36 clothing features. Fine-tined on [Lucy in the Sky](https://www.lucyinthesky.com/) product catalog.
[](https://huggingface.co/spaces/LucyintheSky/feature-prediction)
[](https://huggingface.co/LucyintheSky/lucy-feature-prediction)
""")
# Clothing Decade Prediction
gr.Markdown("""
---
## Clothing Decade Prediction <a name="9"></a>

Predicts which decade your clothing is from.
[](https://huggingface.co/spaces/tonyassi/Which-decade-are-you-from)
[](https://huggingface.co/tonyassi/fashion-clothing-decade)
""")
# Stylist Bot
gr.Markdown("""
---
## Stylist Bot <a name="10"></a>

A chatbot that gives fashion styling advice.
[](https://huggingface.co/spaces/tonyassi/fashion-stylist-bot)
""")
# Text-to-Image from an Editorial Campaign
gr.Markdown("""
---
## Text-to-Image from an Editorial Campaign <a name="11"></a>

A text-to-image LoRA model was fine-tuned on [Lucy in the Sky](https://www.lucyinthesky.com/) editorial prom campaign.
[](https://huggingface.co/spaces/LucyintheSky/lucy-dream)
[](https://huggingface.co/LucyintheSky/lucy-dream-lora)
""")
demo.launch() |