Alwin122 commited on
Commit
b1cfe61
·
verified ·
1 Parent(s): fff24d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -146,9 +146,11 @@ def get_category_folder(class_id):
146
  """Get appropriate folder for class"""
147
  if class_id in CLOTHING_ITEMS:
148
  return "clothing"
 
 
149
 
150
  else:
151
- return "clothing" # default
152
 
153
  def upload_to_cloudinary(file_path: str, public_id: str, folder: str = "fashion_segments") -> Dict:
154
  """Upload file to Cloudinary and return response with URLs"""
 
146
  """Get appropriate folder for class"""
147
  if class_id in CLOTHING_ITEMS:
148
  return "clothing"
149
+ """elif class_id in ACCESSORIES:
150
+ return "accessories"
151
 
152
  else:
153
+ pass # default"""
154
 
155
  def upload_to_cloudinary(file_path: str, public_id: str, folder: str = "fashion_segments") -> Dict:
156
  """Upload file to Cloudinary and return response with URLs"""