Spaces:
Running
Running
File size: 2,761 Bytes
768f9c8 fa05780 768f9c8 fa05780 768f9c8 fa05780 768f9c8 fa05780 768f9c8 081ea2b fa05780 768f9c8 ff3d3c2 fa05780 ff3d3c2 fa05780 ff3d3c2 fa05780 ff3d3c2 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 |
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>
""")
# 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 input images in a simialr style to the product images.
[](https://huggingface.co/spaces/LucyintheSky/lucy-text-to-image)
""")
demo.launch() |