text-generation-webui
text-generation-webui copied to clipboard
sd_api_picutres temporarily flashing images when forcing pictures (solution provided)
Describe the bug
When doing anything other than prompting the AI to send a picture, like forcing a picture on the next request, the image only shows briefly in the chat box area.
This can be fixed by adding "shared.args.no_stream = True" to line 150 in the script.py file. This is where def force_pic() is declared.
Is there an existing issue for this?
- [X] I have searched the existing issues
Reproduction
Just try forcing a picture, you can save the picture to the hard disk, but you can't keep it in the chat window.
Screenshot

Logs
NA
System Info
Windows 10, 4090, i9 13900k