mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-09 20:29:55 +02:00
adapt to one-arg start_new_session_and_model and rename load_model
This commit is contained in:
parent
8c4bfa229f
commit
762a7a058e
2 changed files with 33 additions and 25 deletions
8
Makefile
8
Makefile
|
@ -1,4 +1,9 @@
|
|||
EYNOLLAH_MODELS ?= $(PWD)/models_eynollah
|
||||
ifneq (,$(wildcard $(HOME)/.local/share/ocrd-resources/ocrd-eynollah-segment/default))
|
||||
EYNOLLAH_MODELS = $(HOME)/.local/share/ocrd-resources/ocrd-eynollah-segment/default
|
||||
else
|
||||
EYNOLLAH_MODELS = $(PWD)/models_eynollah
|
||||
endif
|
||||
|
||||
export EYNOLLAH_MODELS
|
||||
|
||||
# BEGIN-EVAL makefile-parser --make-help Makefile
|
||||
|
@ -47,4 +52,5 @@ smoke-test:
|
|||
|
||||
# Run unit tests
|
||||
test:
|
||||
echo $(EYNOLLAH_MODELS)
|
||||
pytest tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue