Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lim185 committed Dec 8, 2024
1 parent 0ea663b commit 0d2aabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def main():
labels = []
with open(path / "train.csv", "r") as file:
for line in file:
labels.append(line.strip().split(","))
labels.append(line.strip().split(",")[0])

spark = SparkSession.builder.appName("train").getOrCreate()
pipe = SpectrogramPipe(spark)
Expand Down

0 comments on commit 0d2aabc

Please sign in to comment.