Spaces:
Runtime error
Runtime error
File size: 1,579 Bytes
3d65a6d 80e9baf 3d65a6d 80e9baf 3d65a6d 80e9baf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
<!DOCTYPE html>
<html>
<head>
<title>Image Audio Description</title>
<style>
body {
background-color: #000; /* Black background */
color: #90EE90; /* Light green text */
margin: 0; /* Remove default margin */
font-family: Arial, sans-serif; /* Set a default font */
}
.container {
width: 80%; /* Define a container width */
margin: 0 auto; /* Center the container horizontally */
padding: 20px; /* Add some padding */
}
h1, h2, p {
text-align: center; /* Center all headings and paragraphs */
}
.error {
color: red; /* Error message color */
}
.nav-bar {
background-color: #000; /* Black navbar background */
color: #90EE90; /* Light green text */
display: flex; /* Allow elements to sit side-by-side */
justify-content: space-between; /* Space elements evenly */
padding: 10px 20px; /* Add padding */
}
.logo {
width: 100px; /* Adjust logo width as needed */
height: auto; /* Maintain aspect ratio */
}
</style>
</head>
<body>
<div class="nav-bar">
<img src="logo.png" alt="Logo" class="logo">
</div>
<div class="container">
<h1>Upload an Image</h1>
<form method="POST" enctype="multipart/form-data">
<input type="file" name="image" accept="image/*">
<br>
<input type="submit" value="Generate audio description">
</form>
{% if message %}
<p class="error">{{ message }}</p>
{% endif %}
</div>
</body>
</html>
|