Update static/index.html
Browse files- static/index.html +8 -1
static/index.html
CHANGED
|
@@ -2,7 +2,14 @@
|
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
<title>Face2Vintage</title>
|
| 5 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
document.addEventListener('DOMContentLoaded', function() {
|
| 7 |
document.getElementById('uploadForm').addEventListener('submit', async function(event) {
|
| 8 |
event.preventDefault();
|
|
|
|
| 2 |
<html>
|
| 3 |
<head>
|
| 4 |
<title>Face2Vintage</title>
|
| 5 |
+
<style>
|
| 6 |
+
/* Style to make the image smaller */
|
| 7 |
+
#resultContainer img {
|
| 8 |
+
max-width: 100%;
|
| 9 |
+
height: auto;
|
| 10 |
+
}
|
| 11 |
+
</style>
|
| 12 |
+
<script>
|
| 13 |
document.addEventListener('DOMContentLoaded', function() {
|
| 14 |
document.getElementById('uploadForm').addEventListener('submit', async function(event) {
|
| 15 |
event.preventDefault();
|