Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
489461c
1
Parent(s):
52dc29f
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def refinar_resultados(df, include_word=[]):
|
|
26 |
df['Title'] = df['Title'].astype(str)
|
27 |
|
28 |
# Define a list of keywords to exclude, indicating multiples
|
29 |
-
exclude_keywords = ["kit", "conjunto", "pacote", "caixa", "unidades"]
|
30 |
|
31 |
# Add conditional exclusion for words not included in the query
|
32 |
exclude_patterns = [keyword for keyword in exclude_keywords if keyword not in include_word]
|
|
|
26 |
df['Title'] = df['Title'].astype(str)
|
27 |
|
28 |
# Define a list of keywords to exclude, indicating multiples
|
29 |
+
exclude_keywords = ["kit", "conjunto", "pacote", "caixa", "unidades", "Kits", " e "]
|
30 |
|
31 |
# Add conditional exclusion for words not included in the query
|
32 |
exclude_patterns = [keyword for keyword in exclude_keywords if keyword not in include_word]
|