mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
add an option to enable sections from extras tab in txt2img/img2img
fix some style inconsistenices
This commit is contained in:
parent
645f4e7ef8
commit
7a14c8ab45
9 changed files with 133 additions and 23 deletions
10
modules/shared_items.py
Normal file
10
modules/shared_items.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
|
||||
def realesrgan_models_names():
|
||||
import modules.realesrgan_model
|
||||
return [x.name for x in modules.realesrgan_model.get_realesrgan_models(None)]
|
||||
|
||||
def postprocessing_scripts():
|
||||
import modules.scripts
|
||||
|
||||
return modules.scripts.scripts_postproc.scripts
|
||||
Loading…
Add table
Add a link
Reference in a new issue