Spaces:
Running
Running
edit load pickle
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ model_config = {
|
|
42 |
latest_query_result = {"query": "", "result": "", "model": ""}
|
43 |
|
44 |
symspell = SymSpell(max_dictionary_edit_distance=2)
|
45 |
-
symspell.load_pickle("symspell_fast.pkl"
|
46 |
|
47 |
# แก้คำผิด
|
48 |
def correct_query_with_symspell(query: str) -> str:
|
|
|
42 |
latest_query_result = {"query": "", "result": "", "model": ""}
|
43 |
|
44 |
symspell = SymSpell(max_dictionary_edit_distance=2)
|
45 |
+
symspell.load_pickle("symspell_fast.pkl")
|
46 |
|
47 |
# แก้คำผิด
|
48 |
def correct_query_with_symspell(query: str) -> str:
|