Read the current guide_attention_entries list from conditioning.
(conditioning)
| 2 | |
| 3 | |
| 4 | def _get_guide_attention_entries(conditioning): |
| 5 | """Read the current guide_attention_entries list from conditioning.""" |
| 6 | for t in conditioning: |
| 7 | entries = t[1].get("guide_attention_entries", None) |
| 8 | if entries is not None: |
| 9 | return entries |
| 10 | return [] |
| 11 | |
| 12 | |
| 13 | def _set_guide_attention_entries(conditioning, entries): |
no test coverage detected