SWHL commited on
Commit
f17499e
·
verified ·
1 Parent(s): bb0ac1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -1,8 +1,6 @@
1
  # -*- encoding: utf-8 -*-
2
  # @Author: SWHL
3
  # @Contact: [email protected]
4
- from typing import List
5
-
6
  import gradio as gr
7
  from gradio_pdf import PDF
8
 
@@ -16,11 +14,10 @@ def get_pdf_result(pdf_path: str, page_num: int = 0):
16
 
17
 
18
  with gr.Blocks(title="RapidOCR 📄 PDF", theme=gr.themes.Soft()) as demo:
19
- gr.Markdown(
20
- "<h1 style='text-align: center;'><a href='https://github.com/RapidAI/RapidOCRPDF' style='text-decoration: none;'>RapidOCR 📄 PDF</a></h1>"
21
- )
22
  gr.HTML(
23
  """
 
 
24
  <div style="display: flex; justify-content: center; gap: 10px;">
25
  <a href=""><img src="https://img.shields.io/badge/Python->=3.6-aff.svg"></a>
26
  <a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>
 
1
  # -*- encoding: utf-8 -*-
2
  # @Author: SWHL
3
  # @Contact: [email protected]
 
 
4
  import gradio as gr
5
  from gradio_pdf import PDF
6
 
 
14
 
15
 
16
  with gr.Blocks(title="RapidOCR 📄 PDF", theme=gr.themes.Soft()) as demo:
 
 
 
17
  gr.HTML(
18
  """
19
+ <h1 style='text-align: center;font-size:40px'>Rapid⚡OCR</h1>
20
+
21
  <div style="display: flex; justify-content: center; gap: 10px;">
22
  <a href=""><img src="https://img.shields.io/badge/Python->=3.6-aff.svg"></a>
23
  <a href=""><img src="https://img.shields.io/badge/OS-Linux%2C%20Win%2C%20Mac-pink.svg"></a>