• G
    Interrogate: add option to include ranks in output · d717eb07
    Greg Fuller 提交于
    Since the UI also allows users to specify ranks, it can be useful to show people what ranks are being returned by interrogate
    
    This can also give much better results when feeding the interrogate results back into either img2img or txt2img, especially when trying to generate a specific character or scene for which you have a similar concept image
    
    Testing Steps:
    
    Launch Webui with command line arg: --deepdanbooru
    Navigate to img2img tab, use interrogate DeepBooru, verify tags appears as before. Use "Interrogate CLIP", verify prompt appears as before
    Navigate to Settings tab, enable new option, click "apply settings"
    Navigate to img2img, Interrogate DeepBooru again, verify that weights appear and are properly formatted. Note that "Interrogate CLIP" prompt is still unchanged
    In my testing, this change has no effect to "Interrogate CLIP", as it seems to generate a sentence-structured caption, and not a set of tags.
    
    (reproduce changes from https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/2149/commits/6ed4faac46c45ca7353f228aca9b436bbaba7bc7)
    d717eb07
interrogate.py 6.3 KB