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