Spaces:
Runtime error
Runtime error
Commit
·
387dade
1
Parent(s):
40ffb05
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,6 +106,9 @@ def retrieve_dataframes(
|
|
| 106 |
elif isinstance(result, float) and result < 1.0:
|
| 107 |
# assuming that WER is given in 0.13 format
|
| 108 |
result = 100 * result
|
|
|
|
|
|
|
|
|
|
| 109 |
results[model_id] = round(result, 2) if result is not None else None
|
| 110 |
|
| 111 |
results = dict(
|
|
|
|
| 106 |
elif isinstance(result, float) and result < 1.0:
|
| 107 |
# assuming that WER is given in 0.13 format
|
| 108 |
result = 100 * result
|
| 109 |
+
elif isinstance(result, list):
|
| 110 |
+
result = result[0]
|
| 111 |
+
|
| 112 |
results[model_id] = round(result, 2) if result is not None else None
|
| 113 |
|
| 114 |
results = dict(
|