Manus AI commited on
Commit
b76f8da
·
1 Parent(s): 995e2e8

Switch to EasyOCR by default and remove PaddleOCR dependencies

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -2
app.py CHANGED
@@ -155,7 +155,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
155
  iou_threshold_component = gr.Slider(
156
  label='IOU Threshold', minimum=0.01, maximum=1.0, step=0.01, value=0.1)
157
  use_paddleocr_component = gr.Checkbox(
158
- label='Use PaddleOCR', value=True)
159
  imgsz_component = gr.Slider(
160
  label='Icon Detect Image Size', minimum=640, maximum=1920, step=32, value=640)
161
  submit_button_component = gr.Button(
 
155
  iou_threshold_component = gr.Slider(
156
  label='IOU Threshold', minimum=0.01, maximum=1.0, step=0.01, value=0.1)
157
  use_paddleocr_component = gr.Checkbox(
158
+ label='Use PaddleOCR', value=False)
159
  imgsz_component = gr.Slider(
160
  label='Icon Detect Image Size', minimum=640, maximum=1920, step=32, value=640)
161
  submit_button_component = gr.Button(
requirements.txt CHANGED
@@ -14,8 +14,6 @@ dill
14
  accelerate
15
  timm
16
  einops==0.8.0
17
- paddleocr
18
- paddlepaddle
19
  huggingface_hub
20
  matplotlib
21
  requests
 
14
  accelerate
15
  timm
16
  einops==0.8.0
 
 
17
  huggingface_hub
18
  matplotlib
19
  requests