Skip to content

Commit 4156fc2

Browse files
Edressonshehzeen
authored andcommitted
Fix Liint checks
Signed-off-by: Edresson Casanova <edresson1@gmail.com>
1 parent 52f3854 commit 4156fc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • nemo/collections/tts/modules/magpietts_inference

nemo/collections/tts/modules/magpietts_inference/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ def parse_layer_list(layer_str: Optional[str]) -> Optional[List[int]]:
664664
"""Parse a comma-separated list of layer indices."""
665665
if layer_str is None:
666666
return None
667-
return [int(l.strip()) for l in layer_str.split(",")]
667+
return [int(layer.strip()) for layer in layer_str.split(",")]
668668

669669

670670
def write_csv_header_if_needed(csv_path: str, header: str) -> None:

0 commit comments

Comments
 (0)