lllyasviel / lllyasviel/sd-forge-layerdiffuse

"Additional Prompt" gives TypeError: 'NoneType' object is not iterable

Open
#61 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.1k
Forks
352
PR merge metrics
No merged PRs in 30d

Description

Filling "Foreground Additional Prompt" or "Blended Additional Prompt" always gives TypeError: 'NoneType' object is not iterable.
It works only when leaving them empty.
![2024-03-09_12-27-22](https://github.com/layerdiffusion/sd-forge-layerdiffuse/assets/3627488/afcf2292-4565-4c19-bc7d-c1b509e3eb68)

Edit: It looks like the problem only occurs with longer prompts, basic 2-3 word prompts (positive and negative) work.
Edit2: over 150 symbols prompts don't work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the error by entering longer than 150-symbol prompts in the Foreground Additional Prompt or Blended Additional Prompt fields, since short prompts reportedly work. Trace the resulting TypeError to the relevant implementation and verify that both fields accept longer positive and negative prompts without the exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.