(tabname, show)
| 142 | } |
| 143 | |
| 144 | function showRestoreProgressButton(tabname, show) { |
| 145 | var button = gradioApp().getElementById(tabname + "_restore_progress"); |
| 146 | if (!button) return; |
| 147 | button.style.setProperty('display', show ? 'flex' : 'none', 'important'); |
| 148 | } |
| 149 | |
| 150 | function submit() { |
| 151 | showSubmitButtons('txt2img', false); |
no test coverage detected