Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
57dd0a5
1
Parent(s):
f691033
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def refinar_resultados(df):
|
|
40 |
|
41 |
def get_best_match(query, choices, limit=15):
|
42 |
matches = process.extract(query, choices, scorer=fuzz.WRatio, limit=limit)
|
43 |
-
return [match[0] for match in matches if match[1] >
|
44 |
|
45 |
def filtrar_itens_similares(df, termo_pesquisa, limit=15):
|
46 |
titulos = df['Title'].tolist()
|
|
|
40 |
|
41 |
def get_best_match(query, choices, limit=15):
|
42 |
matches = process.extract(query, choices, scorer=fuzz.WRatio, limit=limit)
|
43 |
+
return [match[0] for match in matches if match[1] > 40]
|
44 |
|
45 |
def filtrar_itens_similares(df, termo_pesquisa, limit=15):
|
46 |
titulos = df['Title'].tolist()
|