stable-diffusion-webui/modules
Max Audron 14c0884fd0 use python importlib to load and execute extension modules
previously module attributes like __file__ where not set correctly,
leading to scripts getting the directory of the stable-diffusion repo
location instead of their own script.

This causes problem when loading user data from an external location
using the --data-dir flag, as extensions would look for their own code
in the stable-diffusion repo location instead of the data dir location.

Using pythons importlib functions sets the modules specs correctly and
executes them. But this will break extensions if they build paths based
on the previously incorrect __file__ attribute.
2023-01-27 14:44:34 +01:00
..
api support detecting midas model 2023-01-27 11:54:19 +03:00
codeformer
hypernetworks enable compact view for train tab 2023-01-22 00:02:51 +03:00
models/diffusion Add instruct-pix2pix hijack 2023-01-25 08:53:23 -05:00
textual_inversion add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
call_queue.py
codeformer_model.py
deepbooru_model.py Add option for float32 sampling with float16 UNet 2023-01-25 01:13:02 -05:00
deepbooru.py
devices.py clarify the option to disable NaN check. 2023-01-27 13:08:00 +03:00
errors.py better support for xformers flash attention on older versions of torch 2023-01-23 16:40:20 +03:00
esrgan_model_arch.py
esrgan_model.py
extensions.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
extra_networks_hypernet.py Lora support! 2023-01-21 16:15:53 +03:00
extra_networks.py extra networks UI 2023-01-21 08:36:07 +03:00
extras.py third time's the charm 2023-01-23 14:50:20 +03:00
face_restoration.py
generation_parameters_copypaste.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
gfpgan_model.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
hashes.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
images.py handling sub grids and merging into one 2023-01-24 02:24:32 -05:00
img2img.py
import_hook.py
interrogate.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
localization.py
lowvram.py
masking.py
memmon.py
modelloader.py
ngrok.py
paths.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
postprocessing.py a possible fix for broken image upscaling 2023-01-23 17:59:58 +03:00
processing.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
progress.py add progress bar to modelmerger 2023-01-19 09:25:37 +03:00
prompt_parser.py
realesrgan_model.py
safe.py
script_callbacks.py Lora support! 2023-01-21 16:15:53 +03:00
script_loading.py use python importlib to load and execute extension modules 2023-01-27 14:44:34 +01:00
scripts_auto_postprocessing.py add an option to enable sections from extras tab in txt2img/img2img 2023-01-26 23:31:32 +03:00
scripts_postprocessing.py add an option to enable sections from extras tab in txt2img/img2img 2023-01-26 23:31:32 +03:00
scripts.py add an option to enable sections from extras tab in txt2img/img2img 2023-01-26 23:31:32 +03:00
sd_disable_initialization.py fix missing field for aesthetic embedding extension 2023-01-22 08:20:48 +03:00
sd_hijack_checkpoint.py
sd_hijack_clip_old.py
sd_hijack_clip.py
sd_hijack_inpainting.py remove the need to place configs near models 2023-01-27 11:28:12 +03:00
sd_hijack_ip2p.py Add instruct-pix2pix hijack 2023-01-25 08:53:23 -05:00
sd_hijack_open_clip.py
sd_hijack_optimizations.py Add UI setting for upcasting attention to float32 2023-01-25 01:13:04 -05:00
sd_hijack_unet.py fix for unet hijack breaking the train tab 2023-01-25 20:11:01 +03:00
sd_hijack_utils.py Fix full previews, --no-half-vae 2023-01-26 01:43:35 -05:00
sd_hijack_xlmr.py
sd_hijack.py write a comment for fix_checkpoint function 2023-01-19 20:39:10 +03:00
sd_models_config.py support detecting midas model 2023-01-27 11:54:19 +03:00
sd_models.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
sd_samplers.py fix prompt editing break after first batch in img2img 2023-01-25 23:25:40 +03:00
sd_vae_approx.py
sd_vae.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
shared_items.py remove the need to place configs near models 2023-01-27 11:28:12 +03:00
shared.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
styles.py
sub_quadratic_attention.py Add UI setting for upcasting attention to float32 2023-01-25 01:13:04 -05:00
timer.py remove the need to place configs near models 2023-01-27 11:28:12 +03:00
txt2img.py
ui_common.py fix open directory button failing 2023-01-23 15:50:32 +03:00
ui_components.py add an option to enable sections from extras tab in txt2img/img2img 2023-01-26 23:31:32 +03:00
ui_extensions.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
ui_extra_networks_hypernets.py add a slider for default value of added extra networks 2023-01-22 00:02:52 +03:00
ui_extra_networks_textual_inversion.py fix broken textual inversion extras tab 2023-01-22 00:16:26 +03:00
ui_extra_networks.py make clicking extra networks button one more time close the extra networks UI 2023-01-25 19:55:31 +03:00
ui_postprocessing.py rework extras tab to use script system 2023-01-23 09:24:43 +03:00
ui_tempdir.py
ui.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
upscaler.py add data-dir flag and set all user data directories based on it 2023-01-27 14:44:30 +01:00
xlmr.py