lllyasviel / lllyasviel/sd-forge-layerdiffuse
"Additional Prompt" gives TypeError: 'NoneType' object is not iterable
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.

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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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