We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71d595 commit 8f556dbCopy full SHA for 8f556db
modules/tabs/training.py
@@ -61,6 +61,9 @@ def train_index_only(
61
recursive=recursive,
62
)
63
64
+ if len(datasets) == 0:
65
+ raise Exception("No audio files found")
66
+
67
yield "Preprocessing..."
68
split.preprocess_audio(
69
datasets,
@@ -159,6 +162,9 @@ def train_all(
159
162
160
163
161
164
165
166
167
168
169
170
0 commit comments