dzmu commited on
Commit
ee9bd01
·
verified ·
1 Parent(s): 3921e07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def get_top_clip_clothing(probs, n=1):
153
  #None, "Error: No image provided.")
154
 
155
  #img = input_img.convert("RGB").copy() # Ensure image is in RGB
156
- def analyze_outfit(image_path):
157
  if not image_path or not os.path.exists(image_path):
158
  return (
159
  "<p style='color: #FF5555; text-align: center;'>Please upload an image.</p>",
 
153
  #None, "Error: No image provided.")
154
 
155
  #img = input_img.convert("RGB").copy() # Ensure image is in RGB
156
+ def analyze_outfit(image_path: str):
157
  if not image_path or not os.path.exists(image_path):
158
  return (
159
  "<p style='color: #FF5555; text-align: center;'>Please upload an image.</p>",