[FE] supports more than 77 tokens

This commit is contained in:
HappyZ 2023-05-24 14:14:34 -07:00
parent f6b970692a
commit f137e64a60
1 changed files with 5 additions and 7 deletions

View File

@ -40,9 +40,9 @@
<input class="form-control" id="prompt" aria-describedby="promptHelp"> <input class="form-control" id="prompt" aria-describedby="promptHelp">
</div> </div>
<div id="promptHelp" class="form-text" <div id="promptHelp" class="form-text"
data-en_XX="Describe your image with less than 77 words. Example: photo of a cute cat. Use () to emphasize." data-en_XX="Describe your image. Example: photo of a cat, cute, black and white. Use () to emphasize."
data-zh_CN="用少于77个词来形容这张图。比如:一张可爱的猫的照片。用括号()强调重要性。">Describe your image with less than 77 words. data-zh_CN="形容这张图。比如:一张猫的照片,可爱,黑白色。用括号()强调重要性。">Describe your image. Example: photo of a cat,
Example: photo of a cute cat. Use () to emphasize.</div> cute, black and white. Use () to emphasize.</div>
</div> </div>
<div class="row mb-3"> <div class="row mb-3">
<div class="input-group"> <div class="input-group">
@ -50,10 +50,8 @@
data-zh_CN="这张图不是..">This image is NOT..</label> data-zh_CN="这张图不是..">This image is NOT..</label>
<input type="text" class="form-control" id="negPrompt" aria-describedby="negPromptHelp"> <input type="text" class="form-control" id="negPrompt" aria-describedby="negPromptHelp">
</div> </div>
<div id="negPromptHelp" class="form-text" <div id="negPromptHelp" class="form-text" data-en_XX="Optional. Describe what's NOT the image."
data-en_XX="Optional. Use less than 77 words to describe what's NOT the image." data-zh_CN="非必填。形容这张图不长什么样。">Optional. Describe what's NOT the image.</div>
data-zh_CN="非必填。用少于77个词形容这张图不长什么样。">Optional. Use less than 77 words to describe what's NOT the
image.</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-3 mb-3"> <div class="col-md-3 mb-3">