Spaces:
Sleeping
Sleeping
imseldrith
commited on
Commit
•
1e4fe3e
1
Parent(s):
3425732
Update templates/index.html
Browse files- templates/index.html +6 -3
templates/index.html
CHANGED
@@ -148,9 +148,12 @@
|
|
148 |
<h1 class="mt-5">Image Generator</h1>
|
149 |
<form action="/generate" method="POST" onsubmit="showGeneratingMessage()">
|
150 |
<div class="mb-3">
|
151 |
-
|
152 |
-
|
153 |
-
|
|
|
|
|
|
|
154 |
<div class="mb-3">
|
155 |
<label for="style" class="form-label">Choose Style:</label>
|
156 |
<select id="style" name="style" class="form-select">
|
|
|
148 |
<h1 class="mt-5">Image Generator</h1>
|
149 |
<form action="/generate" method="POST" onsubmit="showGeneratingMessage()">
|
150 |
<div class="mb-3">
|
151 |
+
<label for="prompt" class="form-label">Prompt:</label>
|
152 |
+
<textarea id="prompt" name="prompt" class="form-control" rows="4" cols="50" placeholder="Surprise me" required></textarea>
|
153 |
+
<div class="invalid-feedback">
|
154 |
+
Please enter a prompt.
|
155 |
+
</div>
|
156 |
+
</div>
|
157 |
<div class="mb-3">
|
158 |
<label for="style" class="form-label">Choose Style:</label>
|
159 |
<select id="style" name="style" class="form-select">
|