Spaces:
Running
Running
Update app_gradio.py
Browse files- app_gradio.py +12 -2
app_gradio.py
CHANGED
@@ -32,9 +32,19 @@ custom_css = """
|
|
32 |
with gr.Blocks(
|
33 |
title="Rapid⚡OCR Demo", css="custom_css", theme=gr.themes.Soft()
|
34 |
) as demo:
|
35 |
-
gr.Markdown("<h1 style='text-align: center; color: #333;'>Rapid⚡OCR</h1>")
|
36 |
gr.Markdown(
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
)
|
39 |
inp = gr.Textbox(placeholder="What is your name?")
|
40 |
out = gr.Textbox()
|
|
|
32 |
with gr.Blocks(
|
33 |
title="Rapid⚡OCR Demo", css="custom_css", theme=gr.themes.Soft()
|
34 |
) as demo:
|
|
|
35 |
gr.Markdown(
|
36 |
+
"<h1 style='text-align: center;'><a href='https://rapidai.github.io/RapidOCRDocs/' style='text-decoration: none;'>Rapid⚡OCR</a></h1>"
|
37 |
+
)
|
38 |
+
gr.HTML(
|
39 |
+
"""
|
40 |
+
<div style="display: flex; justify-content: center; gap: 10px;">
|
41 |
+
<a href=""><img src="https://img.shields.io/badge/Python->=3.6-aff.svg"></a>
|
42 |
+
<a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>
|
43 |
+
<a href="https://pepy.tech/project/rapidocr"><img src="https://static.pepy.tech/personalized-badge/rapidocr?period=total&units=abbreviation&left_color=grey&right_color=blue&left_text=Downloads%20rapidocr"></a>
|
44 |
+
<a href="https://pypi.org/project/rapidocr/"><img alt="PyPI" src="https://img.shields.io/pypi/v/rapidocr"></a>
|
45 |
+
<a href="https://github.com/RapidAI/RapidOCR"><img src="https://img.shields.io/github/stars/RapidAI/RapidOCR?color=ccf"></a>
|
46 |
+
</div>
|
47 |
+
"""
|
48 |
)
|
49 |
inp = gr.Textbox(placeholder="What is your name?")
|
50 |
out = gr.Textbox()
|