text-generation-webui icon indicating copy to clipboard operation
text-generation-webui copied to clipboard

sd_api_picutres temporarily flashing images when forcing pictures (solution provided)

Open RandomInternetPreson opened this issue 2 years ago • 0 comments

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

issue

Logs

NA

System Info

Windows 10, 4090, i9 13900k

RandomInternetPreson avatar Mar 21 '23 03:03 RandomInternetPreson