Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from symspellpy import SymSpell
|
3 |
|
4 |
-
def
|
5 |
symsp = SymSpell()
|
6 |
symsp.load_dictionary('freq_dictionay_symspellpy.txt',term_index=0, count_index=1, separator=' ')
|
7 |
sentence = inp_text
|
|
|
1 |
import gradio as gr
|
2 |
from symspellpy import SymSpell
|
3 |
|
4 |
+
def text_checker(inp_text):
|
5 |
symsp = SymSpell()
|
6 |
symsp.load_dictionary('freq_dictionay_symspellpy.txt',term_index=0, count_index=1, separator=' ')
|
7 |
sentence = inp_text
|