mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-01 06:59:54 +02:00
not needle in haystack -> needle not in haystack
This commit is contained in:
parent
4179a2ea3a
commit
b29b137986
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ class SbbBinarizeProcessor(Processor):
|
|||
Set up the model prior to processing.
|
||||
"""
|
||||
LOG = getLogger('processor.SbbBinarize.__init__')
|
||||
if not 'model' in self.parameter:
|
||||
assert isinstance(self.parameter, dict)
|
||||
if 'model' not in self.parameter:
|
||||
raise ValueError("'model' parameter is required")
|
||||
# resolve relative path via environment variable
|
||||
model_path = Path(self.parameter['model'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue