root 1 anno fa
parent
commit
36e3c3f4a2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      deploy/docker_compose/server.py

+ 1 - 1
deploy/docker_compose/server.py

@@ -20,7 +20,7 @@ img_dir = Path('imgs')
 img_dir.mkdir(exist_ok=True)
 img_dir.mkdir(exist_ok=True)
 ocr_cache_dict = dict()
 ocr_cache_dict = dict()
 
 
-ocr = PaddleOCR(use_gpu=True, use_angle_cls=True, lang="ch", rec=True)
+ocr = PaddleOCR(use_angle_cls=True, lang="ch", rec=True)
 
 
 def debugg_log(content: str):
 def debugg_log(content: str):
     with open("log.txt","a") as file:
     with open("log.txt","a") as file: