Commit Graph

1415 Commits

Author SHA1 Message Date
Oxlamon
2891456369 Update matrix prompt generation code 2022-08-29 12:20:14 +01:00
Oxlamon
6d5dd00981 Set auto prompt_matrix depending on prompt 2022-08-29 12:20:14 +01:00
Nelson Chen
4fac0f2558 Update frontend.py
typo fix small
2022-08-29 12:19:51 +01:00
jansteffen
899b811dd0 Keep the generate button (visually) inside the text box 2022-08-29 12:19:35 +01:00
_nderscore
5ff04a5a52 fix(css): prevent generate button from overlapping prompt, fix font size on multiline prompts 2022-08-29 12:19:35 +01:00
hlky
b4eb2c1d3a
Create LICENSE 2022-08-29 12:16:23 +01:00
hlky
083ffd9ad8
Update README.md 2022-08-29 00:59:36 +01:00
hlky
90d49a0c4a
Update README.md 2022-08-29 00:57:44 +01:00
hlky
45ad73e4f3 Update sync.yml 2022-08-29 00:41:17 +01:00
hlky
d88ca21491 Update sync.yml 2022-08-29 00:41:17 +01:00
Alex Volkov
923e437bcf Resize image was exported as well
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
2022-08-29 00:41:17 +01:00
Alex Volkov
8662ea4623 Ugh I only added these to the playground! Added now 2022-08-29 00:41:17 +01:00
Alex Volkov
8781040614 Added gitignore 2022-08-29 00:41:17 +01:00
hlky
6b148f4858 Update sync.yml 2022-08-29 00:41:17 +01:00
hlky
783b7c6691 Update sync.yml 2022-08-29 00:41:17 +01:00
Alex Volkov
64ca78ca76 Refactored the UI, added a web_playground.py to be run without any models. 2022-08-29 00:41:17 +01:00
hlky
8d15f865e9
re-fix esrgan/gfpgan multiple images bug
Must have been undone by some pr

also, grid is now only appended to output images if more than 1 images is being generated
2022-08-28 22:12:59 +01:00
hlky
fbd4878551
Update README.md 2022-08-28 20:29:31 +01:00
_nderscore
ea4bc1aa53 fix: working loopback buttons on txt2img and img2img 2022-08-28 19:37:14 +01:00
jansteffen
244f945c40 Revamped output info area 2022-08-28 17:25:02 +01:00
hlky
1afcbe9fa0
Update README.md 2022-08-28 17:24:01 +01:00
hlky
7c6e04b9a8
Update README.md 2022-08-28 17:06:02 +01:00
hlky
db175c931a
Update README.md 2022-08-28 17:05:34 +01:00
interficiam
e71d82e3a6
🔥 fix and update optimized mode (#194) 🔥 2022-08-28 17:00:58 +01:00
hlky
7b468aaa17
Revert automatic prompt matrix
@lendrick
2022-08-28 15:30:29 +01:00
JustOxlamon
5765d729af
Grid image generation fixes (#180)
* 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
2022-08-28 15:23:21 +01:00
PrinzKasper
f23a14d371
Add a simple footer to the bottom of the page (#182)
* Add a simple footer to the bottom of the page

* grammar is important kids
2022-08-28 13:01:14 +01:00
AbdBarho
ee571eaced
Respect CLI parameters (#179)
the CLI parameters ckpt and config now work if required - the paths were hardcoded.
2022-08-28 12:50:54 +01:00
hlky
33890563d2
Update README.md 2022-08-28 06:00:14 +01:00
hlky
fe4aa57d44
Update README.md 2022-08-28 05:56:15 +01:00
hlky
7518c3ac27
img2img value unpack
unsure what caused this
2022-08-28 04:17:12 +01:00
hlky
4a393bdba9
Remove gobig 2022-08-28 02:20:59 +01:00
altryne
beed3de337
UI fix for having to select which image you want to do the action on - (#166)
* 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>
2022-08-28 01:28:21 +01:00
hlky
a498c272b9
Fix #159 2022-08-28 01:25:28 +01:00
hlky
3c2be10770
Revert "added gobig configuration sliders (#164)"
This reverts commit 24f444dbcb.
2022-08-28 01:24:17 +01:00
devilismyfriend
24f444dbcb
added gobig configuration sliders (#164)
* added go big implementation

* removed useless comments

removed useless comments

* added gobig configuration sliders

* return proper image for tab

* fixed file naming issues from go big tab

* resolved conflicts

Co-authored-by: dr3amer <91037083+dr3am37@users.noreply.github.com>
2022-08-28 00:44:06 +01:00
hlky
82616d12a0
#125 2022-08-28 00:41:22 +01:00
hlky
8491abbce3
Update README.md 2022-08-28 00:05:31 +01:00
hlky
f19029aa6b
#158
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
2022-08-27 23:26:42 +01:00
Torbjörn Lönnemark
dac090625b Use white text for alternate text matrix
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.
2022-08-27 21:56:49 +01:00
Torbjörn Lönnemark
ceecb1a33d Fix duplicates
This was another regression caused by
82770bacae.

Fixes #147. Fixes #148.
2022-08-27 21:56:34 +01:00
PrinzKasper
a3456f9992
Minor Fixes to the recent UI restyling (#154)
* 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>
2022-08-27 21:38:52 +01:00
dr3amer
e1cc092ba9 removed useless comments
removed useless comments
2022-08-27 21:09:49 +01:00
dr3amer
eb6f513fdf added go big implementation 2022-08-27 21:09:49 +01:00
hlky
bb3c02368d
Create txt2img.jpg 2022-08-27 19:26:24 +01:00
hlky
bdd876f60a
Delete txt2img.jpg 2022-08-27 19:26:12 +01:00
hlky
44eb1bbf15
Update images 2022-08-27 19:23:14 +01:00
Torbjörn Lönnemark
93412100a6 Revert bad fix for #112
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.
2022-08-27 19:16:53 +01:00
hlky
10f8f4c078
Fixes #112 #125 2022-08-27 18:51:56 +01:00
Torbjörn Lönnemark
446d18f94c Use get_next_sequence_number everywhere
This got lost at some point for seemingly no reason, so restore it.
2022-08-27 18:37:58 +01:00