mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
set fallback sampler
This commit is contained in:
@@ -48,3 +48,14 @@ Tech that can be integrated as part of the core workflow...
|
||||
- Bunch of stuff: <https://pharmapsychotic.com/tools.html>
|
||||
- <https://towardsdatascience.com/mastering-memoization-in-python-dcdd8b435189>
|
||||
- <https://github.com/AUTOMATIC1111/stable-diffusion-webui/compare/89f9faa...20ae71f>
|
||||
- <https://github.com/vladmandic/automatic/issues/1056>
|
||||
- kubernetes dnsname
|
||||
- rife
|
||||
- add sd-webui-agent-scheduler: <https://github.com/vladmandic/automatic/issues/559> <https://github.com/ArtVentureX/sd-webui-agent-scheduler/issues/2>
|
||||
- remove sd-webui-model-converter
|
||||
- update training to use interrogator
|
||||
- update training to use rembg
|
||||
- <https://github.com/vladmandic/automatic/discussions/1246>
|
||||
- shared.info
|
||||
- hints
|
||||
- import-hooks
|
||||
|
||||
Submodule extensions-builtin/a1111-sd-webui-lycoris updated: b0d24ca645...c1e676b4d7
Submodule extensions-builtin/sd-extension-system-info updated: 8046b15445...064c856aca
Submodule extensions-builtin/sd-webui-controlnet updated: 4f0f26b7c6...e78d486ce0
Submodule extensions-builtin/stable-diffusion-webui-images-browser updated: 75af6d0c32...59547c8431
@@ -42,7 +42,7 @@ div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { backgr
|
||||
.extra-networks .tab-nav .search { max-height: 2em; }
|
||||
.extra-network-cards .card .actions .name { font-weight: 400; font-size: 1.2rem; }
|
||||
.extra-network-cards .card { width: 18em; height: 12em; box-shadow: none; }
|
||||
.extra-network-cards .card:hover { transform: scale(1.5); transition: all 0.3s ease; z-index: 99; box-shadow: none; }
|
||||
.extra-network-cards .card:hover { transform: scale(1.15); transition: all 0.2s ease; z-index: 99; box-shadow: none; }
|
||||
svg.feather.feather-image, .feather .feather-image { display: none }
|
||||
.gap-2 { padding-top: 8px; }
|
||||
.gr-box > div > div > input.gr-text-input { right: 0; width: 4em; padding: 0; top: -12px; border: none; max-height: 20px; }
|
||||
|
||||
@@ -18,7 +18,7 @@ samplers_map = {}
|
||||
|
||||
|
||||
def find_sampler_config(name):
|
||||
if name is not None:
|
||||
if name is not None and name != 'None':
|
||||
config = all_samplers_map.get(name, None)
|
||||
else:
|
||||
config = all_samplers[0]
|
||||
@@ -27,7 +27,9 @@ def find_sampler_config(name):
|
||||
|
||||
def create_sampler(name, model):
|
||||
config = find_sampler_config(name)
|
||||
assert config is not None, f'bad sampler name: {name}'
|
||||
if config is None:
|
||||
shared.log.error(f'Attempting to use unknown sampler: {name}')
|
||||
config = all_samplers[0]
|
||||
if backend == Backend.ORIGINAL:
|
||||
sampler = config.constructor(model)
|
||||
sampler.config = config
|
||||
|
||||
Reference in New Issue
Block a user