Update app.py
Browse files
app.py
CHANGED
|
@@ -290,6 +290,9 @@ def run_comparison(target_model, target_adapter, count):
|
|
| 290 |
# Save JSON
|
| 291 |
with open(temp_file.name, "w", encoding="utf-8") as f:
|
| 292 |
json.dump(data, f, indent=2, ensure_ascii=False)
|
|
|
|
|
|
|
|
|
|
| 293 |
|
| 294 |
return output
|
| 295 |
|
|
|
|
| 290 |
# Save JSON
|
| 291 |
with open(temp_file.name, "w", encoding="utf-8") as f:
|
| 292 |
json.dump(data, f, indent=2, ensure_ascii=False)
|
| 293 |
+
|
| 294 |
+
if temp_file.name:
|
| 295 |
+
output += f"Download JSON export of evaluation results <a href='{temp_file.name}'>here</a>.\n"
|
| 296 |
|
| 297 |
return output
|
| 298 |
|