Skip to content

Commit

Permalink
Mod: Format code with black.
Browse files Browse the repository at this point in the history
  • Loading branch information
Labbeti committed Oct 13, 2023
1 parent 1b0e34d commit 2579353
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aac_metrics/functional/vocab.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def vocab(
max_n_refs_per_audio = pop_strategy
else:
POP_STRATEGIES = ("max", "min")
raise ValueError(f"Invalid argument {pop_strategy=}. (expected one of {POP_STRATEGIES} or integer value)")
raise ValueError(
f"Invalid argument {pop_strategy=}. (expected one of {POP_STRATEGIES} or integer value)"
)

vocab_mrefs_lens = torch.empty((max_n_refs_per_audio,), dtype=dtype)

Expand Down

0 comments on commit 2579353

Please sign in to comment.