Commit 0ca4b17
Huy Vuong
fix(mflux): adjust __call__ method to handle negative_prompt correctly
- Updated the __call__ method in BaseImageModel to extract the negative_prompt from kwargs, ensuring it is handled properly during image generation.
- Modified the __call__ method in ImageGenerationModel to maintain compatibility with the updated parameter handling.1 parent d6d65fa commit 0ca4b17
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
428 | 430 | | |
429 | 431 | | |
430 | 432 | | |
431 | | - | |
| 433 | + | |
432 | 434 | | |
433 | 435 | | |
434 | 436 | | |
| |||
0 commit comments