Mahmoudmody777 commited on
Commit
aae3e63
·
verified ·
1 Parent(s): f99f17c

Update index.html

Browse files
Files changed (1) hide show
  1. 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="300"></textarea>
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 >300) {
423
- alert('The prompt cannot exceed 184 characters.');
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