aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorMarvin Borner2023-07-04 14:27:28 +0200
committerMarvin Borner2023-07-04 14:27:28 +0200
commitc4f567fc97741c26cbd4c51d8927bdd1ca579d82 (patch)
tree12b1f7592291ea669d4b7f20b7f2787bcdcf6f5e /main.py
parentd559f14563b4dca8dbb213307a9f4710ef6d9c98 (diff)
Fixed invalid unpacking
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 940617f..f278846 100644
--- a/main.py
+++ b/main.py
@@ -51,7 +51,7 @@ def preprocess(data):
input_lengths = []
target_lengths = []
- for wav, sr, label in data:
+ for wav, sr, label, _, _, _ in data:
if sr != 16000:
resample = T.Resample(orig_freq=sr, new_freq=16000)
wav = resample(wav)