tonyassi commited on
Commit
fb96910
·
verified ·
1 Parent(s): c1757bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -7
app.py CHANGED
@@ -25,12 +25,24 @@ with gr.Blocks(theme=theme, css=css) as demo:
25
  <center> by <a href="https://www.tonyassi.com/" target="_blank">Tony Assi</a> </center>
26
  <br>
27
  <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>
 
 
 
 
 
 
 
 
 
 
 
 
28
  """)
29
 
30
  # Virtual Try-On
31
  gr.Markdown("""
32
  ---
33
- ## Virtual Try-On
34
  ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/mARmPyep7W3MwGmvR_zWN.jpeg)
35
 
36
  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)
@@ -44,7 +56,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
44
  gr.Markdown("""
45
 
46
  ---
47
- ## Sales Forecasting with Image Regression
48
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/mrtzCY91RnLtnbx4LIj4x.png)
49
  Predict sales from a product image. Image regression training, hosting, and inference. [Read more](https://huggingface.co/blog/tonyassi/image-regression)
50
 
@@ -58,7 +70,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
58
  gr.Markdown("""
59
 
60
  ---
61
- ## Text-to-Image Clothing Designer
62
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/Y-EuOGASjO-GMUzjlBCIh.png)
63
 
64
  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.
@@ -70,7 +82,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
70
  gr.Markdown("""
71
 
72
  ---
73
- ## Sketch to Fashion Design
74
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/tnLduEwy4JfiDdoI2D6Bc.png)
75
 
76
  Convert a sketch into a photorealistic garment on a model.
@@ -82,7 +94,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
82
  gr.Markdown("""
83
 
84
  ---
85
- ## Segment Clothing
86
 
87
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/PWrFOLtggkm3NroFMEjfI.png)
88
 
@@ -97,7 +109,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
97
  gr.Markdown("""
98
 
99
  ---
100
- ## Clothing Search by Sketch
101
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/YMxC5GrzSHXmzcl9iqLmQ.png)
102
 
103
  Search for a clothing by sketching it.
@@ -110,7 +122,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
110
  gr.Markdown("""
111
 
112
  ---
113
- ## Image to Fashion Article
114
 
115
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/E7vtF_rHntAt47ExuO_5_.png)
116
 
 
25
  <center> by <a href="https://www.tonyassi.com/" target="_blank">Tony Assi</a> </center>
26
  <br>
27
  <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>
28
+
29
+ ---
30
+ Table of Contents
31
+
32
+ 1. [Virtual Try-On](#1)
33
+ 2. [Sales Forecasting with Image Regressionn](#2)
34
+ 3. [Text-to-Image Clothing Designer](#3)
35
+ 4. [Sketch to Fashion Design](#4)
36
+ 5. [Segment Clothing](#5)
37
+ 6. [Clothing Search by Sketch](#6)
38
+ 7. [Image to Fashion Article](#7)
39
+
40
  """)
41
 
42
  # Virtual Try-On
43
  gr.Markdown("""
44
  ---
45
+ ## Virtual Try-On <a name="1"></a>
46
  ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/mARmPyep7W3MwGmvR_zWN.jpeg)
47
 
48
  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)
 
56
  gr.Markdown("""
57
 
58
  ---
59
+ ## Sales Forecasting with Image Regression <a name="2"></a>
60
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/mrtzCY91RnLtnbx4LIj4x.png)
61
  Predict sales from a product image. Image regression training, hosting, and inference. [Read more](https://huggingface.co/blog/tonyassi/image-regression)
62
 
 
70
  gr.Markdown("""
71
 
72
  ---
73
+ ## Text-to-Image Clothing Designer <a name="3"></a>
74
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/Y-EuOGASjO-GMUzjlBCIh.png)
75
 
76
  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.
 
82
  gr.Markdown("""
83
 
84
  ---
85
+ ## Sketch to Fashion Design <a name="4"></a>
86
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/tnLduEwy4JfiDdoI2D6Bc.png)
87
 
88
  Convert a sketch into a photorealistic garment on a model.
 
94
  gr.Markdown("""
95
 
96
  ---
97
+ ## Segment Clothing <a name="5"></a>
98
 
99
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/PWrFOLtggkm3NroFMEjfI.png)
100
 
 
109
  gr.Markdown("""
110
 
111
  ---
112
+ ## Clothing Search by Sketch <a name="6"></a>
113
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/YMxC5GrzSHXmzcl9iqLmQ.png)
114
 
115
  Search for a clothing by sketching it.
 
122
  gr.Markdown("""
123
 
124
  ---
125
+ ## Image to Fashion Article <a name="7"></a>
126
 
127
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/648a824a8ca6cf9857d1349c/E7vtF_rHntAt47ExuO_5_.png)
128