Futuretop commited on
Commit
5ba87b6
·
verified ·
1 Parent(s): 4f843fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def extract_clothing(text):
18
  'suit', 'sneakers', 'hat', 'scarf', 'uniform']
19
 
20
  found_colors = [c for c in colors if c in text.lower()]
21
- found_patterns = [p for p in patterns if c in text.lower()]
22
  found_items = [i for i in items if i in text.lower()]
23
 
24
  return found_colors, found_patterns, found_items
 
18
  'suit', 'sneakers', 'hat', 'scarf', 'uniform']
19
 
20
  found_colors = [c for c in colors if c in text.lower()]
21
+ found_patterns = [p for p in patterns if p in text.lower()]
22
  found_items = [i for i in items if i in text.lower()]
23
 
24
  return found_colors, found_patterns, found_items