Skip to content

Commit

Permalink
fix logic again
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Oct 26, 2024
1 parent 6fbd52f commit e7d843b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delft/sequenceLabelling/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'. ")
Expand Down

0 comments on commit e7d843b

Please sign in to comment.