is_img2img is True if this function is called for the img2img interface, and False otherwise This function should return: - False if the script should not be shown in UI at all - True if the script should be shown in UI if it's selected in the scripts dropdown
(self, is_img2img)
| 77 | pass # pylint: disable=unnecessary-pass |
| 78 | |
| 79 | def show(self, is_img2img) -> bool | AlwaysVisible: # pylint: disable=unused-argument |
| 80 | """ |
| 81 | is_img2img is True if this function is called for the img2img interface, and False otherwise |
| 82 | This function should return: |
| 83 | - False if the script should not be shown in UI at all |
| 84 | - True if the script should be shown in UI if it's selected in the scripts dropdown |
| 85 | - script.AlwaysVisible if the script should be shown in UI at all times |
| 86 | """ |
| 87 | return True |
| 88 | |
| 89 | def run(self, p: StableDiffusionProcessing, *args): |
| 90 | """ |
no outgoing calls
no test coverage detected