mirror of
https://github.com/Doctorado-ML/beflask.git
synced 2025-08-15 23:25:51 +00:00
Add select row to best report
This commit is contained in:
BIN
app/app.db
BIN
app/app.db
Binary file not shown.
@@ -79,7 +79,10 @@ def best(file_name):
|
||||
with open(os.path.join(Folders.results, file_name)) as f:
|
||||
data = json.load(f)
|
||||
except Exception as e:
|
||||
return render_template("error.html", message=str(e))
|
||||
return render_template(
|
||||
"error.html",
|
||||
message=f"This best results file ({file_name}) has not been created yet!",
|
||||
)
|
||||
return render_template("best.html", data=data)
|
||||
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<table id="file-table"
|
||||
<table id="report-table"
|
||||
class="table table-striped table-hover table-bordered bg-light">
|
||||
<thead>
|
||||
<tr class="bg-primary text-white">
|
||||
|
Reference in New Issue
Block a user