Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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'
|
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,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")
|