Update index.html
Browse files- index.html +3 -3
index.html
CHANGED
|
@@ -317,7 +317,7 @@
|
|
| 317 |
</div>
|
| 318 |
|
| 319 |
<label for="prompt">Image Description:</label>
|
| 320 |
-
<textarea id="prompt" placeholder="Describe the image you want to generate" rows="4" maxlength="
|
| 321 |
|
| 322 |
<div class="sliders">
|
| 323 |
<div class="slider-container">
|
|
@@ -419,8 +419,8 @@
|
|
| 419 |
const steps = stepsSlider.value;
|
| 420 |
|
| 421 |
// تحقق من عدد الحروف
|
| 422 |
-
if (prompt.length >
|
| 423 |
-
alert('The prompt cannot exceed
|
| 424 |
return;
|
| 425 |
}
|
| 426 |
|
|
|
|
| 317 |
</div>
|
| 318 |
|
| 319 |
<label for="prompt">Image Description:</label>
|
| 320 |
+
<textarea id="prompt" placeholder="Describe the image you want to generate" rows="4" maxlength="1000"></textarea>
|
| 321 |
|
| 322 |
<div class="sliders">
|
| 323 |
<div class="slider-container">
|
|
|
|
| 419 |
const steps = stepsSlider.value;
|
| 420 |
|
| 421 |
// تحقق من عدد الحروف
|
| 422 |
+
if (prompt.length >1000) {
|
| 423 |
+
alert('The prompt cannot exceed 1000 characters.');
|
| 424 |
return;
|
| 425 |
}
|
| 426 |
|