Aumkeshchy2003 commited on
Commit
63cbf36
·
verified ·
1 Parent(s): c44c0cc

Update app_block.py

Browse files
Files changed (1) hide show
  1. app_block.py +0 -4
app_block.py CHANGED
@@ -9,10 +9,6 @@ def tesseract_ocr(filepath: str, languages: List[str]=None):
9
  image = Image.open(filepath)
10
  return pytesseract.image_to_string(image=image, lang=', '.join(languages) if languages else None)
11
 
12
- title = "Tesseract OCR"
13
- description = "Gradio demo for Tesseract. Tesseract is an open source text recognition (OCR) Engine."
14
- article = "<p style='text-align: center'><a href='https://tesseract-ocr.github.io/' target='_blank'>Tesseract documentation</a> | <a href='https://github.com/tesseract-ocr/tesseract' target='_blank'>Github Repo</a></p>"
15
-
16
  with gr.Blocks(title=title) as demo:
17
  gr.Markdown(f'<h1 style="text-align: center; margin-bottom: 1rem;">{title}</h1>')
18
  gr.Markdown(description)
 
9
  image = Image.open(filepath)
10
  return pytesseract.image_to_string(image=image, lang=', '.join(languages) if languages else None)
11
 
 
 
 
 
12
  with gr.Blocks(title=title) as demo:
13
  gr.Markdown(f'<h1 style="text-align: center; margin-bottom: 1rem;">{title}</h1>')
14
  gr.Markdown(description)