ysharma HF staff commited on
Commit
7aa31a0
1 Parent(s): 6f717a8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  def wordsrch(img):
4
  lang = ["en"]
5
  #ocrimg = gr.Interface.load("spaces/PaddlePaddle/PaddleOCR")(img, lang)
6
- ocrimg = gr.Interface.load("spaces/tomofi/EasyOCR")(img, lang) #[0]
7
  return ocrimg #, dframe
8
 
9
  #examples = [["wordsearch2.jpg","en"]]
 
3
  def wordsrch(img):
4
  lang = ["en"]
5
  #ocrimg = gr.Interface.load("spaces/PaddlePaddle/PaddleOCR")(img, lang)
6
+ ocrimg = gr.Interface.load("spaces/tomofi/EasyOCR")(img, lang)[0]
7
  return ocrimg #, dframe
8
 
9
  #examples = [["wordsearch2.jpg","en"]]