Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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
|