Spaces:
Sleeping
Sleeping
Update processor/processor.py
Browse files- processor/processor.py +2 -2
processor/processor.py
CHANGED
|
@@ -11,8 +11,8 @@ class Processor():
|
|
| 11 |
type_wine, gbs, colors_for_trim, grapes, other_words,
|
| 12 |
sour_merge_dict, type_merge_dict, color_merge_dict)
|
| 13 |
|
| 14 |
-
def process(self,
|
| 15 |
-
items, products=self.preprocessor.process(
|
| 16 |
|
| 17 |
print('-----*-----Matching-----*-----')
|
| 18 |
items_groups = prepare_groups_with_ids(items)
|
|
|
|
| 11 |
type_wine, gbs, colors_for_trim, grapes, other_words,
|
| 12 |
sour_merge_dict, type_merge_dict, color_merge_dict)
|
| 13 |
|
| 14 |
+
def process(self, products, items, th=65):
|
| 15 |
+
items, products=self.preprocessor.process(products, items)
|
| 16 |
|
| 17 |
print('-----*-----Matching-----*-----')
|
| 18 |
items_groups = prepare_groups_with_ids(items)
|