Add files via upload

This commit is contained in:
Web Dev 9000 2022-09-04 14:35:33 -07:00 committed by GitHub
parent 02a6018992
commit c012929cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -83,6 +83,9 @@ label {
#txt2img { #txt2img {
background-color: #DCDCDC; background-color: #DCDCDC;
} }
#variations {
background-color: #EEEEEE;
}
#img2img { #img2img {
background-color: #F5F5F5; background-color: #F5F5F5;
} }

View File

@ -69,6 +69,12 @@
<label for="progress_images">Display in-progress images (slower)</label> <label for="progress_images">Display in-progress images (slower)</label>
<button type="button" id="reset-all">Reset to Defaults</button> <button type="button" id="reset-all">Reset to Defaults</button>
</div> </div>
<div id="variations">
<label title="If > 0, generates variations on the initial seed instead of random seeds per iteration. Must be between 0 and 1. Higher values will be more different." for="variation_amount">Variation amount (0 to disable):</label>
<input value="0" type="number" id="variation_amount" name="variation_amount" step="0.01" min="0" max="1">
<label title="list of variations to apply, in the format `seed:weight,seed:weight,..." for="with_variations">With variations (seed:weight,seed:weight,...):</label>
<input value="" type="text" id="with_variations" name="with_variations">
</div>
<div id="img2img"> <div id="img2img">
<label title="Upload an image to use img2img" for="initimg">Initial image:</label> <label title="Upload an image to use img2img" for="initimg">Initial image:</label>
<input type="file" id="initimg" name="initimg" accept=".jpg, .jpeg, .png"> <input type="file" id="initimg" name="initimg" accept=".jpg, .jpeg, .png">