Commit Graph

201 Commits

Author SHA1 Message Date
altryne
cb0953c312 Adding 2 options, --share and --share-password, to share online with gradio
Signed-off-by: altryne <altryne@gmail.com>
2022-08-27 13:55:57 +01:00
altryne
aec6308035 Ok now css is fixed
Signed-off-by: altryne <altryne@gmail.com>
2022-08-27 13:55:57 +01:00
altryne
3fbc950cd6 FIxed css to have the center column take most of the space
Signed-off-by: altryne <altryne@gmail.com>
2022-08-27 13:55:57 +01:00
altryne
bfe6d32d42 Typo in styleing
Signed-off-by: altryne <altryne@gmail.com>
2022-08-27 13:55:57 +01:00
Alex Volkov
98d87b8842 Fixed auto selecting of the img2img tab with gr.Update
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
2022-08-27 13:55:57 +01:00
Alex Volkov
87afca1b7f Select the img2img tab when user clicks push to img2img
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
2022-08-27 13:55:57 +01:00
Alex Volkov
43889682c6 Working on reslying the UI
Signed-off-by: Alex Volkov <alex.volkov@fundbox.com>
2022-08-27 13:55:57 +01:00
JohannesGaessler
55487bc60c Basic scripting support, CLI batch processing 2022-08-27 13:38:12 +01:00
hlky
b9b74329ae
Save original copy of image before upscaling or face fixing #103 2022-08-27 05:54:59 +01:00
Torbjörn Lönnemark
343b4157d4 Improve sequence number generation
This should behave much better, for example if (re)moving older files
from the output directories.

Also remove the increments (which never had any effect), and move the
grid_count calculation right before where it's used.
2022-08-27 05:06:46 +01:00
hlky
7613b17d59
fix img2img ValueError: negative shift count 2022-08-27 04:56:39 +01:00
Torbjörn Lönnemark
4ac26312ff Default --gpu to value of $CUDA_VISIBLE_DEVICES if set
Trust the value of $CUDA_VISIBLE_DEVICES if it is already set and --gpu
is not passed.
2022-08-27 04:41:03 +01:00
hlky
1d622b2120
Prompt matrix fix 2022-08-27 04:39:00 +01:00
hlky
34a0611e9c
NameError undefined '_' 2022-08-27 03:43:41 +01:00
hlky
3e9998a699
Update README.md 2022-08-27 03:40:26 +01:00
hlky
670ab25a6a Fix again, final hopefully 2022-08-27 03:39:14 +01:00
hlky
bc212870ae Fix conflicts 2022-08-27 03:39:14 +01:00
hlky
ddc1f428e8 Conflicts 2022-08-27 03:39:14 +01:00
hlky
b0b9c8a1d9 Optimized support force push 2022-08-27 03:39:14 +01:00
hlky
8c1ea1311a
Update README.md 2022-08-27 02:22:07 +01:00
hlky
32108a54a0
Update sync.yml 2022-08-27 02:10:39 +01:00
hlky
474f146527
Update README.md 2022-08-27 02:10:04 +01:00
hlky
9ef82a0ac7
Update README.md 2022-08-27 00:54:28 +01:00
oldfndm
0aa9727f6c feat(): add mask blur strength slider 2022-08-27 00:53:36 +01:00
hlky
78d136e9f2
glob functionality using listdir 🔥 2022-08-27 00:52:56 +01:00
Torbjörn Lönnemark
6d5ac72790 Fix seed conversion
Max value for a 32bit unsigned int is 2**32 - 1, not 2**32 (and the
range of possible values returned by randint includes both of its
arguments).

Python's hash() function is not deterministic across different
invocations of the interpreter. This meant a given string seed would
produce different results after restarting the script. Use the passed
strings to seed a Random instance instead.
2022-08-27 00:19:41 +01:00
oldfndm
ab9f89a585 feat(): add advanced editor 2022-08-27 00:08:15 +01:00
hlky
31335f8ec3
Update README.md 2022-08-26 23:32:56 +01:00
hlky
c47d62857f
Update README.md 2022-08-26 23:31:45 +01:00
hlky
9e42c836cd
Update README.md 2022-08-26 23:31:04 +01:00
hlky
22fdaf63e7
images 2022-08-26 23:30:46 +01:00
hlky
d310ca68b9 CPU support for RealESRGAN/GFPGAN 💻
Also, a new way to set gpu device for RealESRGAN/GFPGAN

Usage:
--extra-models-cpu
or a combination of
--gfpgan-cpu and --esrgan-cpu
2022-08-26 22:44:57 +01:00
hlky
ee5537d8f4 GFPGAN/RealESRGAN CPU support
Test on this branch for now until I add a cli argument
Tested working on my machine, RealESRGAN ran on CPU, result attached to #81
2022-08-26 22:44:57 +01:00
Craftyawesome
d973e5c6d1 Use GC before GAN 2022-08-26 22:17:24 +01:00
hlky
3ed1c6be34
Update README.md 2022-08-26 21:58:43 +01:00
hlky
a7fa62bbfe Revert to os.listdir() 2022-08-26 21:49:08 +01:00
Steve Stavropoulos
1f4a0eb310 Make --gpu argument use the correct GPU 2022-08-26 21:41:19 +01:00
hlky
51edb7259e Possible fix 2022-08-26 21:41:19 +01:00
hlky
5df44e95da
Adding .png metadata 🔥 Merge pull request #78 from georgzoeller/patch-1
Adding .png metadata 🔥
2022-08-26 20:36:48 +01:00
hlky
e655d4f58f
🔴 💚 2022-08-26 20:35:26 +01:00
hlky
0b6811464a
stderr + part of flagging got deleted?? 2022-08-26 20:33:13 +01:00
hlky
87f8712f53
defaults 2022-08-26 20:29:26 +01:00
hlky
7b44c49680
fix conflicts 2022-08-26 20:26:10 +01:00
hlky
18415d704f
Revert "Merge branch 'master' into patch-1"
This reverts commit f13f810af7, reversing
changes made to 4f8dd02ccb.
2022-08-26 20:22:25 +01:00
hlky
f13f810af7
Merge branch 'master' into patch-1 2022-08-26 20:20:57 +01:00
JohannesGaessler
a167ac9860 Fixed setting environmental variable on Linux 2022-08-26 20:18:28 +01:00
Georg Zoeller
4f8dd02ccb
Adding .png metadata
This may open the option to read data from images dragged into the tool later.  Activated with --save_metadata

Properties (example output from imagemagic 'identify -verbose' command:
    SD:cfg_scale: 7.5
    SD:GFPGAN: False
    SD:height: 512
    SD:normalize_prompt_weights: True
    SD:prompt: a beautiful matte painting of a cottage on a magical fantasy island, unreal engine, barometric projection, rectilinear
    SD:seed: 247624793
    SD:steps: 50
    SD:width: 512
2022-08-27 03:08:15 +08:00
hlky
187c77e9c7 force GFPGAN/RealESRGAN to selected gpu 2022-08-26 19:58:01 +01:00
_nderscore
63f16a2b25 fix: prevent memory monitoring from breaking on non-nvidia gpus 2022-08-26 19:58:01 +01:00
_nderscore
a8bf8941b1 feat: add --gpu argument for users with multiple gpus 2022-08-26 19:58:01 +01:00