thanhnt-cf commited on
Commit
fcd223a
·
1 Parent(s): 57bc17f

new version of schema

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -135,7 +135,6 @@ class Length(BaseModel):
135
  class Style(BaseModel):
136
  a_line: int = Field(..., description="A Line: Fitted at the top and gradually flares toward the hem, forming an 'A' shape.")
137
  bodycon: int = Field(..., description="Bodycon: Tight-fitting and figure-hugging, usually made with stretchy fabric.")
138
- column: int = Field(..., description="Column: Straight silhouette from top to bottom, with minimal shaping or flare.")
139
  shirt_dress: int = Field(..., description="Shirt Dress: Structured like a shirt with buttons, collar, and sleeves; may include a belt.")
140
  wrap_dress: int = Field(..., description="Wrap Dress: Features a front closure that wraps and ties at the side or back.")
141
  slip: int = Field(..., description="Slip: Lightweight, spaghetti-strap dress with minimal structure, often bias-cut.")
@@ -143,7 +142,6 @@ class Style(BaseModel):
143
  corset: int = Field(..., description="Corset: Structured bodice with boning or lacing that shapes the waist.")
144
  jumper_dress: int = Field(..., description="Jumper Dress: Layered dress style similar to a pinafore, often more casual or thick-strapped.")
145
  blazer_dress: int = Field(..., description="Blazer Dress: Tailored like a blazer or suit jacket, often double-breasted or lapelled.")
146
- tunic: int = Field(..., description="Tunic: Loose and straight-cut, often worn short or over pants/leggings.")
147
  asymmetric: int = Field(..., description="Asymmetric: Dress with a non-symmetrical hem, neckline, or sleeve design.")
148
  shift: int = Field(..., description="Shift: Simple, straight dress with no defined waist, typically above the knee.")
149
  drop_waist: int = Field(..., description="Drop waist: Waistline sits low on the hips, usually with a loose top and flared skirt.")
@@ -167,31 +165,26 @@ class Neckline(BaseModel):
167
  square_neck: int = Field(..., description="Square Neck: Straight horizontal cut across the chest with vertical sides, forming a square.")
168
  high_neck: int = Field(..., description="High Neck: Extends up the neck slightly but not folded like a turtle neck.")
169
  crew_neck: int = Field(..., description="Crew Neck: High, rounded neckline that sits close to the neck.")
170
- cowl_neck: int = Field(..., description="Cowl Neck: Draped or folded neckline that hangs in soft folds.")
171
  turtle_neck: int = Field(..., description="Turtle Neck: High neckline that folds over and covers the neck completely.")
172
  off_the_shoulder: int = Field(..., description="Off the Shoulder: Sits below the shoulders, exposing the shoulders and collarbone.")
173
  one_shoulder: int = Field(..., description="One Shoulder: Covers one shoulder only, leaving the other bare.")
174
  boat_neck: int = Field(..., description="Boat Neck: Wide, shallow neckline that runs almost horizontally from shoulder to shoulder.")
175
- scoop_neck: int = Field(..., description="Scoop Neck: U-shaped neckline, typically deeper than a round neck.")
176
 
177
 
178
  class Pattern(BaseModel):
179
  floral: int = Field(..., description="Floral pattern")
180
  stripe: int = Field(..., description="Stripe pattern")
181
  leopard_print: int = Field(..., description="Leopard print")
182
- spot: int = Field(..., description="Spot pattern")
183
  plain: int = Field(..., description="Plain")
184
  geometric: int = Field(..., description="Geometric pattern")
185
  logo: int = Field(..., description="Logo print")
186
  graphic_print: int = Field(..., description="Graphic print")
187
- check: int = Field(..., description="Check pattern")
188
  other: int = Field(..., description="Other pattern")
189
 
190
 
191
  class Fabric(BaseModel):
192
  cotton: int = Field(..., description="Cotton")
193
  denim: int = Field(..., description="Denim")
194
- jersey: int = Field(..., description="Jersey")
195
  linen: int = Field(..., description="Linen")
196
  satin: int = Field(..., description="Satin")
197
  silk: int = Field(..., description="Silk")
@@ -202,8 +195,6 @@ class Fabric(BaseModel):
202
  lace: int = Field(..., description="Lace")
203
  suede: int = Field(..., description="Suede")
204
  sheer: int = Field(..., description="Sheer")
205
- tulle: int = Field(..., description="Tulle")
206
- crepe: int = Field(..., description="Crepe")
207
  polyester: int = Field(..., description="Polyester")
208
  viscose: int = Field(..., description="Viscose")
209
 
 
135
  class Style(BaseModel):
136
  a_line: int = Field(..., description="A Line: Fitted at the top and gradually flares toward the hem, forming an 'A' shape.")
137
  bodycon: int = Field(..., description="Bodycon: Tight-fitting and figure-hugging, usually made with stretchy fabric.")
 
138
  shirt_dress: int = Field(..., description="Shirt Dress: Structured like a shirt with buttons, collar, and sleeves; may include a belt.")
139
  wrap_dress: int = Field(..., description="Wrap Dress: Features a front closure that wraps and ties at the side or back.")
140
  slip: int = Field(..., description="Slip: Lightweight, spaghetti-strap dress with minimal structure, often bias-cut.")
 
142
  corset: int = Field(..., description="Corset: Structured bodice with boning or lacing that shapes the waist.")
143
  jumper_dress: int = Field(..., description="Jumper Dress: Layered dress style similar to a pinafore, often more casual or thick-strapped.")
144
  blazer_dress: int = Field(..., description="Blazer Dress: Tailored like a blazer or suit jacket, often double-breasted or lapelled.")
 
145
  asymmetric: int = Field(..., description="Asymmetric: Dress with a non-symmetrical hem, neckline, or sleeve design.")
146
  shift: int = Field(..., description="Shift: Simple, straight dress with no defined waist, typically above the knee.")
147
  drop_waist: int = Field(..., description="Drop waist: Waistline sits low on the hips, usually with a loose top and flared skirt.")
 
165
  square_neck: int = Field(..., description="Square Neck: Straight horizontal cut across the chest with vertical sides, forming a square.")
166
  high_neck: int = Field(..., description="High Neck: Extends up the neck slightly but not folded like a turtle neck.")
167
  crew_neck: int = Field(..., description="Crew Neck: High, rounded neckline that sits close to the neck.")
 
168
  turtle_neck: int = Field(..., description="Turtle Neck: High neckline that folds over and covers the neck completely.")
169
  off_the_shoulder: int = Field(..., description="Off the Shoulder: Sits below the shoulders, exposing the shoulders and collarbone.")
170
  one_shoulder: int = Field(..., description="One Shoulder: Covers one shoulder only, leaving the other bare.")
171
  boat_neck: int = Field(..., description="Boat Neck: Wide, shallow neckline that runs almost horizontally from shoulder to shoulder.")
 
172
 
173
 
174
  class Pattern(BaseModel):
175
  floral: int = Field(..., description="Floral pattern")
176
  stripe: int = Field(..., description="Stripe pattern")
177
  leopard_print: int = Field(..., description="Leopard print")
 
178
  plain: int = Field(..., description="Plain")
179
  geometric: int = Field(..., description="Geometric pattern")
180
  logo: int = Field(..., description="Logo print")
181
  graphic_print: int = Field(..., description="Graphic print")
 
182
  other: int = Field(..., description="Other pattern")
183
 
184
 
185
  class Fabric(BaseModel):
186
  cotton: int = Field(..., description="Cotton")
187
  denim: int = Field(..., description="Denim")
 
188
  linen: int = Field(..., description="Linen")
189
  satin: int = Field(..., description="Satin")
190
  silk: int = Field(..., description="Silk")
 
195
  lace: int = Field(..., description="Lace")
196
  suede: int = Field(..., description="Suede")
197
  sheer: int = Field(..., description="Sheer")
 
 
198
  polyester: int = Field(..., description="Polyester")
199
  viscose: int = Field(..., description="Viscose")
200