diff --git a/delft/sequenceLabelling/wrapper.py b/delft/sequenceLabelling/wrapper.py index ba8629d..61608a5 100644 --- a/delft/sequenceLabelling/wrapper.py +++ b/delft/sequenceLabelling/wrapper.py @@ -109,7 +109,7 @@ def __init__(self, self.embeddings = None self.model_local_path = None if wandb_config is not None: - if 'project' not in wandb_config: + if 'project' in wandb_config: self.wandb_config = wandb_config else: raise ValueError("The wandb_config should be a dictionary with at least the string parameter 'project'. ")