sibthinon commited on
Commit
adc1e5a
·
verified ·
1 Parent(s): 50c341d

delete space after fuzzy

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def correct_query_merge_phrases(query: str, whitelist, threshold=80, max_ngram=3
88
 
89
  # ✅ ตัดคำที่มีความยาว 1 ตัวอักษรและไม่ได้อยู่ใน whitelist
90
  cleaned = [word for word in corrected if len(word) > 1 or word in whitelist]
91
- return " ".join(cleaned)
92
 
93
 
94
  # 🌟 Main search function
 
88
 
89
  # ✅ ตัดคำที่มีความยาว 1 ตัวอักษรและไม่ได้อยู่ใน whitelist
90
  cleaned = [word for word in corrected if len(word) > 1 or word in whitelist]
91
+ return "".join(cleaned)
92
 
93
 
94
  # 🌟 Main search function