Spaces:
Running
Running
File size: 3,849 Bytes
768f9c8 fa05780 768f9c8 c18408c 768f9c8 fa05780 768f9c8 fa05780 768f9c8 081ea2b fa05780 768f9c8 ff3d3c2 fa05780 ff3d3c2 fa05780 ff3d3c2 fa05780 ff3d3c2 f964d0b ff3d3c2 c18408c ba2f7c9 c18408c f964d0b c18408c f964d0b c18408c 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 |
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>
""")
# Virtual Try-On
gr.Markdown("""
---
## Virtual Try-On

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

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

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

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

Convert a sketch into a photorealistic garment on a model.
[](https://huggingface.co/spaces/tonyassi/sketch-to-fashion-design)
""")
demo.launch() |