Skip to content
Snippets Groups Projects

support-training-model-version-publication

Merged Thibault Lavigne requested to merge support-training-model-version-publication into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -26,6 +26,7 @@ from arkindex_worker.worker import BaseWorker, ElementsWorker
from arkindex_worker.worker.transcription import TextOrientation
FIXTURES_DIR = Path(__file__).resolve().parent / "data"
SAMPLES_DIR = Path(__file__).resolve().parent / "samples"
__yaml_cache = {}
@@ -276,6 +277,11 @@ def fake_transcriptions_small():
return json.load(f)
@pytest.fixture
def model_file_dir():
return SAMPLES_DIR / "model_files"
@pytest.fixture
def fake_dummy_worker():
api_client = MockApiClient()
Loading