Add test images; call TrOCR processor from the same directory as the TrOCR model

This commit is contained in:
vahidrezanezhad 2025-11-07 12:47:21 +01:00
parent 8732007aaf
commit ed5b5c13dd
6 changed files with 8 additions and 8 deletions

View file

@ -295,7 +295,7 @@ DEFAULT_MODEL_SPECS = EynollahModelSpecSet([
EynollahModelSpec(
category="trocr_processor",
variant='',
filename="models_eynollah/microsoft/trocr-base-printed",
filename="models_eynollah/model_eynollah_ocr_trocr_20250919",
dist_url=dist_url("trocr"),
dists=['trocr'],
type='TrOCRProcessor',