mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-07 08:29:58 +00:00
fix TI embedding info text
original webui is also broken but forge is fixed now
This commit is contained in:
@@ -500,6 +500,7 @@ class StableDiffusionProcessing:
|
||||
cache[1] = function(shared.sd_model, required_prompts, steps, hires_steps, shared.opts.use_old_scheduling)
|
||||
|
||||
import backend.text_processing.classic_engine
|
||||
|
||||
last_extra_generation_params = backend.text_processing.classic_engine.last_extra_generation_params.copy()
|
||||
|
||||
modules.sd_hijack.model_hijack.extra_generation_params.update(last_extra_generation_params)
|
||||
@@ -507,6 +508,8 @@ class StableDiffusionProcessing:
|
||||
if len(cache) > 2:
|
||||
cache[2] = last_extra_generation_params
|
||||
|
||||
backend.text_processing.classic_engine.last_extra_generation_params = {}
|
||||
|
||||
cache[0] = cached_params
|
||||
return cache[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user