ZeroCommand commited on
Commit
9555aa0
·
1 Parent(s): bad5463

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -35,7 +35,7 @@ def inference(img):
35
  # 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.'
36
  # 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>"
37
  # examples = [['english.png',['en']],['thai.jpg',['th']],['french.jpg',['fr', 'en']],['chinese.jpg',['ch_sim', 'en']],['japanese.jpg',['ja', 'en']],['korean.png',['ko', 'en']],['Hindi.jpeg',['hi', 'en']]]
38
- # css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
39
  # choices = [
40
  # "en",
41
  # "fr"
@@ -48,6 +48,6 @@ gr.Interface(
48
  # description=description,
49
  # article=article,
50
  # examples=examples,
51
- # css=css,
52
- # enable_queue=True
53
  ).launch()
 
35
  # 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.'
36
  # 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>"
37
  # examples = [['english.png',['en']],['thai.jpg',['th']],['french.jpg',['fr', 'en']],['chinese.jpg',['ch_sim', 'en']],['japanese.jpg',['ja', 'en']],['korean.png',['ko', 'en']],['Hindi.jpeg',['hi', 'en']]]
38
+ css = ".output_image, .input_image {height: 40rem !important; width: 100% !important;}"
39
  # choices = [
40
  # "en",
41
  # "fr"
 
48
  # description=description,
49
  # article=article,
50
  # examples=examples,
51
+ css=css,
52
+ enable_queue=True
53
  ).launch()