* Add simple templating
* Little grid generation image fix
* Add new grid help to readme
* Grid image generation fixes
* Trim @ symbol if no matrix inputs
* Resolve conflicts
* Simplified the UI, using JS, removing the need for image select input
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
* Merging incoming changes before PR
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
* Removing pychache
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
* adding gitignore
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
Fixed
At most should produce 2 samples
>original & gfpgan
>original & esrgan
>original & gfpgan -> esrgan
Turn off save individual samples to save only gfpgan, esrgan or gfpgan -> esrgan
The previous color magenta (255, 0, 255) distracts from the actual
images. Use white instead.
The text already has black stroke, so it remains readable even on white
backgrounds.
* Fix minor things from last big UI restyle
These two changes were applied to txt2img tab but not img2img tab:
Sample select changed from Radio to Dropdown,
Seed Input restricted to single line, which also removes the resize handlebar
Added a small CSS Workaround for a gradio bug in firefox: The Seed output box is a disabled number field, in chromium gradio will hide the up/down arrows but on firefox it leaves a weird grey square, the CSS rule included in this commit fixes that issue.
* remove full_width from where it doesn't belong
Co-authored-by: hlky <106811348+hlky@users.noreply.github.com>
The negative filename reported in #112 was caused by the old (now
replaced) listdir-based sequence number calculation, that incorrectly
subtracted 1 from the number of files already in the directory:
base_count = len([x for x in os.listdir(sample_path_i) if x.endswith(('.png', '.jpg'))]) - 1 # start at 0
The `- 1` was probably copied from the code for the base directory,
which had to subtract 1 to account for the `samples/` subdirectory (that
was before the listdir code started checking file extensions).
The get_next_sequence_number could never return negative numbers, since
it returns `result + 1`, meaning the sequence starts at 0 as intended.