Skip to content

Commit

Permalink
Merge pull request #6 from lehuutrung1412/frontend
Browse files Browse the repository at this point in the history
Feature: Labels for each model
  • Loading branch information
lehuutrung1412 authored Jul 6, 2021
2 parents 5eb420b + c1541b5 commit 5bca88c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ h6 {
box-shadow: 0 25px 25px 5px rgba(141,179,215,0.8);
}

.resultBox h6 {
font-weight: bold;
}

.result {
width: 90%;
}
Expand Down
4 changes: 3 additions & 1 deletion app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</head>

<body style="background-color: #e9f3fd;">
<div class="container col-lg-6">
<div class="container" style="width: 700px">
<header>
<h1 class="text-center" >Human Detection Application</h1>
<h6 >Based on {{ name_model }}</h6>
Expand All @@ -28,9 +28,11 @@ <h6 >Based on {{ name_model }}</h6>
</div>
<div class="resultBox d-none">
<img class="result"/>
<h6>HOG &amp; SVM</h6>
</div>
<div class="resultBox d-none">
<img class="result"/>
<h6>Yolov4</h6>
</div>
</main>
<footer>
Expand Down

0 comments on commit 5bca88c

Please sign in to comment.