Add option for CPU only in EasyOCR

This commit is contained in:
AuroraWright
2024-02-12 01:56:07 -05:00
parent 6fb4aa4b12
commit eec4484217
2 changed files with 6 additions and 3 deletions

View File

@@ -32,4 +32,6 @@
;endpoint = https://YOURPROJECT.cognitiveservices.azure.com/
[mangaocr]
pretrained_model_name_or_path = kha-white/manga-ocr-base
force_cpu = False
force_cpu = False
[easyocr]
gpu = True