-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (55 loc) · 1.44 KB
/
index.html
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
60
61
<!DOCTYPE html>
<html>
<head>
<style>
/* CSS styles for the form */
body {
font-family: Arial, sans-serif;
}
h1 {
color: #333;
}
form {
margin: 20px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: red;
}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"],
input[type="file"] {
width: 100%;
padding: 5px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 3px;
}
button[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 3px;
cursor: pointer;
}
button[type="submit"]:hover {
background-color: #0056b3;
}
</style>
<title>Image Generation</title>
</head>
<body>
<h1>Image Generation</h1>
<form action="/generate" method="post" enctype="multipart/form-data">
<label for="description">Description:</label><br>
<input type="text" id="description" name="description" required><br><br>
<label for="image">Image:</label><br>
<input type="file" id="image" name="image"><br>
<button type="submit">Generate Image</button>
</form>
</body>
</html>