mirror of
https://github.com/Sosokker/image-caption-generator.git
synced 2025-12-18 18:14:05 +01:00
chore: add dancing baby and sample
This commit is contained in:
parent
54fd126a8f
commit
bef6e9a6c1
BIN
samples/sample-1.png
Normal file
BIN
samples/sample-1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
BIN
static/baby-dance.gif
Normal file
BIN
static/baby-dance.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 KiB |
@ -19,7 +19,11 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Image Caption Generator</h1>
|
<div id="title-section">
|
||||||
|
<img src="static/baby-dance.gif" />
|
||||||
|
<h1>Image Caption Generator</h1>
|
||||||
|
<img src="static/baby-dance.gif" />
|
||||||
|
</div>
|
||||||
<form id="uploadForm">
|
<form id="uploadForm">
|
||||||
<label for="file">Upload an image:</label>
|
<label for="file">Upload an image:</label>
|
||||||
<input type="file" id="file" name="file" accept="image/*" required />
|
<input type="file" id="file" name="file" accept="image/*" required />
|
||||||
@ -138,5 +142,18 @@
|
|||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #007bff;
|
color: #007bff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#title-section {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px; /* Space between title and GIF */
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
#title-section img {
|
||||||
|
width: 75px;
|
||||||
|
height: 75px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user