ucaslcl commited on
Commit
d54296a
·
verified ·
1 Parent(s): 4d51128

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -77,12 +77,9 @@ with gr.Blocks() as demo:
77
  ### Demo Guidelines
78
 
79
  You need to upload your image below and choose one mode of GOT, then click "Submit" to run GOT model. More characters will result in longer wait times.
80
- - **plain texts OCR & format texts OCR**
81
- - The two modes are for the image-level OCR.
82
- - **plain multi-crop OCR & format multi-crop OCR**
83
- - For images with more complex content, you can achieve higher-quality results with these modes.
84
- - **plain fine-grained OCR && format fine-grained OCR**
85
- - In these modes, you can specify fine-grained regions on the input image for more flexible OCR. Fine-grained regions can be coordinates of the box, red color, blue color, or green color.
86
  """)
87
 
88
  with gr.Row():
@@ -128,7 +125,7 @@ with gr.Blocks() as demo:
128
  gr.Examples(
129
  examples=[
130
  ["assets/coco.jpg", "plain texts OCR", "", "", ""],
131
- ["assets/en2.png", "plain texts OCR", "", "", ""],
132
  ["assets/eq.jpg", "format texts OCR", "", "", ""],
133
  ["assets/table.jpg", "format texts OCR", "", "", ""],
134
  ["assets/giga.jpg", "format multi-crop OCR", "", "", ""],
 
77
  ### Demo Guidelines
78
 
79
  You need to upload your image below and choose one mode of GOT, then click "Submit" to run GOT model. More characters will result in longer wait times.
80
+ - **plain texts OCR & format texts OCR**: The two modes are for the image-level OCR.
81
+ - **plain multi-crop OCR & format multi-crop OCR**: For images with more complex content, you can achieve higher-quality results with these modes.
82
+ - **plain fine-grained OCR & format fine-grained OCR**: In these modes, you can specify fine-grained regions on the input image for more flexible OCR. Fine-grained regions can be coordinates of the box, red color, blue color, or green color.
 
 
 
83
  """)
84
 
85
  with gr.Row():
 
125
  gr.Examples(
126
  examples=[
127
  ["assets/coco.jpg", "plain texts OCR", "", "", ""],
128
+ ["assets/en_30.png", "plain texts OCR", "", "", ""],
129
  ["assets/eq.jpg", "format texts OCR", "", "", ""],
130
  ["assets/table.jpg", "format texts OCR", "", "", ""],
131
  ["assets/giga.jpg", "format multi-crop OCR", "", "", ""],