Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def show_results():
|
|
| 39 |
ds = load_dataset(RESULTS_REPO, split="train")
|
| 40 |
if len(ds) == 0:
|
| 41 |
return "No results available yet."
|
| 42 |
-
df = ds.to_pandas()[["model_name", "WER", "CER", "BLEU"
|
| 43 |
return df.sort_values(by='WER')
|
| 44 |
except Exception as e:
|
| 45 |
return f"An error occurred while loading the results: {e}"
|
|
|
|
| 39 |
ds = load_dataset(RESULTS_REPO, split="train")
|
| 40 |
if len(ds) == 0:
|
| 41 |
return "No results available yet."
|
| 42 |
+
df = ds.to_pandas()[["team_name", "model_name", "WER", "CER", "BLEU"]]
|
| 43 |
return df.sort_values(by='WER')
|
| 44 |
except Exception as e:
|
| 45 |
return f"An error occurred while loading the results: {e}"
|