Truncate base64 blobs in request debug log; add ftfy dependency
- log.py: _redact_blobs() recursively truncates data-URI / base64 fields
(init_image, image, mask, character_references, …) to their first 48 chars
in the FULL REQUEST DEBUG dump, so a clip request no longer prints tens of KB
of base64. Prompts and normal fields are left intact (base64-charset check
excludes anything with spaces/punctuation).
- requirements.txt: add ftfy (required by the diffusers Wan/T5 prompt_clean
path; its absence surfaced as "name 'ftfy' is not defined" at generation).
Co-Authored-By:
Claude Opus 4.8 <noreply@anthropic.com>
Showing
| ... | @@ -36,6 +36,7 @@ transformers>=4.35.0 | ... | @@ -36,6 +36,7 @@ transformers>=4.35.0 |
| accelerate>=0.24.0 | accelerate>=0.24.0 | ||
| diffusers>=0.25.0 # For Stable Diffusion image generation | diffusers>=0.25.0 # For Stable Diffusion image generation | ||
| safetensors>=0.4.0 # Required by diffusers | safetensors>=0.4.0 # Required by diffusers | ||
| ftfy>=6.0 # Prompt text cleaning for diffusers Wan/T5 pipelines (prompt_clean) | |||
| # stable-diffusion-cpp-python is installed by build.sh with CMAKE_ARGS to fix the libwebm submodule issue | # stable-diffusion-cpp-python is installed by build.sh with CMAKE_ARGS to fix the libwebm submodule issue | ||
| # System resource detection | # System resource detection | ||
| ... | ... |
Please
register
or
sign in
to comment