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 dropdow
(self, is_img2img)
| 114 | pass |
| 115 | |
| 116 | def show(self, is_img2img): |
| 117 | """ |
| 118 | is_img2img is True if this function is called for the img2img interface, and False otherwise |
| 119 | |
| 120 | This function should return: |
| 121 | - False if the script should not be shown in UI at all |
| 122 | - True if the script should be shown in UI if it's selected in the scripts dropdown |
| 123 | - script.AlwaysVisible if the script should be shown in UI at all times |
| 124 | """ |
| 125 | |
| 126 | return True |
| 127 | |
| 128 | def run(self, p, *args): |
| 129 | """ |
no outgoing calls
no test coverage detected