Vihang28 commited on
Commit
eae246c
·
verified ·
1 Parent(s): f5bda22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from symspellpy import SymSpell
3
 
4
- def ocr_model(inp_text):
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