Spaces:
Running
Running
speech-test
commited on
Commit
β’
c12f7f2
1
Parent(s):
09564a6
higher threshold for 0.x wer
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def parse_metric_value(value):
|
|
36 |
value = float(value)
|
37 |
except: # noqa: E722
|
38 |
value = None
|
39 |
-
elif isinstance(value, float) and value < 1.
|
40 |
# assuming that WER is given in 0.xx format
|
41 |
value = 100 * value
|
42 |
elif isinstance(value, list):
|
|
|
36 |
value = float(value)
|
37 |
except: # noqa: E722
|
38 |
value = None
|
39 |
+
elif isinstance(value, float) and value < 1.1:
|
40 |
# assuming that WER is given in 0.xx format
|
41 |
value = 100 * value
|
42 |
elif isinstance(value, list):
|