eoeooe commited on
Commit
7ed7084
·
verified ·
1 Parent(s): a37db4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from paddleocr import PaddleOCR
2
  import gradio as gr
3
 
4
  # โหลด OCR โมเดลภาษา Chinese (Simplified) ครั้งเดียว
5
- ocr = PaddleOCR(use_angle_cls=False, lang='ch', use_gpu=True,use_fp16=True,enable_mkldnn=True)
6
 
7
  # ฟังก์ชัน inference
8
  def inference(img):
 
2
  import gradio as gr
3
 
4
  # โหลด OCR โมเดลภาษา Chinese (Simplified) ครั้งเดียว
5
+ ocr = PaddleOCR(use_angle_cls=False, lang='ch', use_gpu=True,use_fp16=True)
6
 
7
  # ฟังก์ชัน inference
8
  def inference(img):