asalhi85 commited on
Commit
3c02579
·
1 Parent(s): dd2d31f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ def inference(img, lang):
32
  title = 'EasyOCR'
33
  description = 'Gradio demo for EasyOCR. EasyOCR demo supports 80+ languages.To use it, simply upload your image and choose a language from the dropdown menu, or click one of the examples to load them. Read more at the links below.'
34
  article = "<p style='text-align: center'><a href='https://www.jaided.ai/easyocr/'>Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.</a> | <a href='https://github.com/JaidedAI/EasyOCR'>Github Repo</a></p>"
35
- examples = [['./e1.jpg',['ar','en']],['./e2.jpg',['ar','en']], ['./e3.jpg',['ar','en']], ['./e4.jpg',['ar','en']], ['./e5.jpg',['ar','en']]]
36
  css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
37
  choices = [
38
  "ar",
@@ -45,7 +45,7 @@ gr.Interface(
45
  title=title,
46
  description=description,
47
  article=article,
48
- examples=examples,
49
  css=css,
50
  enable_queue=True
51
  ).launch(debug=True)
 
32
  title = 'EasyOCR'
33
  description = 'Gradio demo for EasyOCR. EasyOCR demo supports 80+ languages.To use it, simply upload your image and choose a language from the dropdown menu, or click one of the examples to load them. Read more at the links below.'
34
  article = "<p style='text-align: center'><a href='https://www.jaided.ai/easyocr/'>Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.</a> | <a href='https://github.com/JaidedAI/EasyOCR'>Github Repo</a></p>"
35
+ #examples = [['./e1.jpg',['ar','en']],['./e2.jpg',['ar','en']], ['./e3.jpg',['ar','en']], ['./e4.jpg',['ar','en']], ['./e5.jpg',['ar','en']]]
36
  css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
37
  choices = [
38
  "ar",
 
45
  title=title,
46
  description=description,
47
  article=article,
48
+ #examples=examples,
49
  css=css,
50
  enable_queue=True
51
  ).launch(debug=True)