Skip to content

Commit bdbf46a

Browse files
committed
Styling changed
2 parents 6b6e4bf + 12f5dbf commit bdbf46a

9 files changed

+7
-10
lines changed

app.py

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def upload_file():
4747
model_dict[MODEL] = True
4848
# Run inference.py
4949
script_command = f'python3 inference.py -d {input_filename} -o ./static/output_{MODEL}.png -be {MODEL}'
50-
print(MODEL)
5150
os.system(script_command)
5251
else:
5352
model_dict[MODEL] = False

static/output_densenet.jpeg

-152 KB
Binary file not shown.

static/output_resnet101.jpeg

-453 KB
Binary file not shown.

static/output_resnet152.jpeg

-174 KB
Binary file not shown.

static/output_resnet18.jpeg

-152 KB
Binary file not shown.

static/output_resnet34.jpeg

-129 KB
Binary file not shown.

static/output_resnet50.jpeg

-113 KB
Binary file not shown.

templates/display.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
height: auto;
1111
}
1212
body {
13-
background-image: url('./static/bg_image.png');
13+
background-image: url('./static/bg_image.jpeg');
1414
background-repeat: repeat;
1515
}
1616
.checkboxes label {
@@ -45,48 +45,47 @@ <h3 style="text-align:center">Output Images</h2><br>
4545
{% if model_dict['resnet18'] %}
4646
<div class="container">
4747
<h4> ResNet18 prediction<h4>
48-
<img src="./static/output_resnet18.png{{ suffix }}" height="400" width="400" alt="Final Predicted image"><br><br>
48+
<img src="./static/output_resnet18.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image for ResNet18"><br><br>
4949
</div>
5050
{% endif %}
5151

5252

5353
{% if model_dict['resnet34'] %}
5454
<div class="container">
5555
<h4> ResNet34 prediction<h4>
56-
<img src="./static/output_resnet34.png{{ suffix }}" height="400" width="400" alt="Final Predicted image"><br><br>
56+
<img src="./static/output_resnet34.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image for ResNet34"><br><br>
5757
</div>
5858
{% endif %}
5959

6060

6161
{% if model_dict['resnet50'] %}
6262
<div class="container">
6363
<h4> ResNet50 prediction<h4>
64-
<img src="./static/output_resnet50.png{{ suffix }}" height="400" width="400" alt="Final Predicted image"><br><br>
64+
<img src="./static/output_resnet50.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image for ResNet50"><br><br>
6565
</div>
6666
{% endif %}
6767

6868

6969
{% if model_dict['resnet101'] %}
7070
<div class="container">
7171
<h4> ResNet101 prediction<h4>
72-
<img src="./static/output_resnet101.png{{ suffix }}" height="400" width="400" alt="Final Predicted image"><br><br>
72+
<img src="./static/output_resnet101.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image for ResNet101"><br><br>
7373
</div>
7474
{% endif %}
7575

7676

7777
{% if model_dict['resnet152'] %}
7878
<div class="container">
7979
<h4> ResNet152 prediction<h4>
80-
<!--<img src="./static/output_resnet152.png{{ suffix }}" height="400" width="400" alt="Final Predicted image"><br><br>-->
81-
<img src="./static/output_densenet.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image"><br><br>
80+
<img src="./static/output_resnet152.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image for ResNet152"><br><br>
8281
</div>
8382
{% endif %}
8483

8584

8685
{% if model_dict['densenet'] %}
8786
<div class="container">
8887
<h4> DenseNet prediction<h4>
89-
<img src="./static/output_densenet.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image"><br><br>
88+
<img src="./static/output_densenet.png{{ suffix }}" height="1600" width="1600" alt="Final Predicted image for DenseNet"><br><br>
9089
</div>
9190
{% endif %}
9291
</div>

templates/home.html

-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,3 @@ <h4>Select one or more ML models for prediction</h4>
7171
-->
7272
</body>
7373
</html>
74-

0 commit comments

Comments
 (0)