Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def calculate_wer_metrics(
|
|
42 |
|
43 |
# Calculate WER measures
|
44 |
measures = jiwer.compute_measures(
|
45 |
-
|
46 |
hypothesis=hypothesis,
|
47 |
truth_transform=transformation,
|
48 |
hypothesis_transform=transformation
|
|
|
42 |
|
43 |
# Calculate WER measures
|
44 |
measures = jiwer.compute_measures(
|
45 |
+
truth=reference,
|
46 |
hypothesis=hypothesis,
|
47 |
truth_transform=transformation,
|
48 |
hypothesis_transform=transformation
|