Omarrran commited on
Commit
698c9a9
·
verified ·
1 Parent(s): 05a166e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -70,13 +70,13 @@ note = 'Please keep patience while processing the OCR, as it may take a few seco
70
  alternative_link = "[Alternative: Ready-to-use OCR using Vercel](https://iitr-haq-nawaz-maliks-projects.vercel.app/)"
71
 
72
  examples = [
73
- ['english.png', ['en', 'hi']],
74
  ['Hindi.jpeg', ['hi', 'en']],
75
- ['thai.jpg', ['th', 'en', 'hi']],
76
- ['french.jpg', ['fr', 'en', 'hi']],
77
- ['chinese.jpg', ['ch_sim', 'en', 'hi']],
78
- ['japanese.jpg', ['ja', 'en', 'hi']],
79
- ['korean.png', ['ko', 'en', 'hi']]
80
  ]
81
 
82
  css = """
@@ -101,7 +101,7 @@ with gr.Blocks(css=css) as iface:
101
  gr.Markdown(f"## {subtitle}")
102
  gr.Markdown(description)
103
  gr.Markdown(note)
104
-
105
  with gr.Row():
106
  with gr.Column(scale=2):
107
  input_image = gr.Image(type="filepath", label="Upload Image")
 
70
  alternative_link = "[Alternative: Ready-to-use OCR using Vercel](https://iitr-haq-nawaz-maliks-projects.vercel.app/)"
71
 
72
  examples = [
73
+ ['english.png', ['en']],
74
  ['Hindi.jpeg', ['hi', 'en']],
75
+ ['thai.jpg', ['th', 'en']],
76
+ ['french.jpg', ['fr', 'en']],
77
+ ['chinese.jpg', ['ch_sim', 'en']],
78
+ ['japanese.jpg', ['ja', 'en' ]],
79
+ ['korean.png', ['ko', 'en' ]]
80
  ]
81
 
82
  css = """
 
101
  gr.Markdown(f"## {subtitle}")
102
  gr.Markdown(description)
103
  gr.Markdown(note)
104
+ gr.Markdown(alternative_link)
105
  with gr.Row():
106
  with gr.Column(scale=2):
107
  input_image = gr.Image(type="filepath", label="Upload Image")