Spaces:
Runtime error
Runtime error
omg
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def client(audio_data: np.array, sample_rate: int, use_scorer=False):
|
|
26 |
|
27 |
out_prob, score, index, text_lab = lang_classifier.classify_batch(
|
28 |
lang_classifier.audio_normalizer(
|
29 |
-
|
30 |
sample_rate
|
31 |
)
|
32 |
)
|
|
|
26 |
|
27 |
out_prob, score, index, text_lab = lang_classifier.classify_batch(
|
28 |
lang_classifier.audio_normalizer(
|
29 |
+
torchaudio.load(output_audio),
|
30 |
sample_rate
|
31 |
)
|
32 |
)
|