Skip to content

Commit

Permalink
Fix "UI doesn't do anything" when you click "generate".
Browse files Browse the repository at this point in the history
Credit to Phyzical.

Ref: kabachuha#243 (comment)
  • Loading branch information
mattcaron committed Oct 15, 2024
1 parent 989f5cf commit a4caebe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions javascript/t2v_progressbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ function submit_txt2vid(){

return res
}

function setSubmitButtonsVisibility(tabname, showInterrupt, showSkip, showInterrupting) {
gradioApp().getElementById(tabname + '_interrupt').style.display = showInterrupt ? "block" : "none";
gradioApp().getElementById(tabname + '_skip').style.display = showSkip ? "block" : "none";
}

0 comments on commit a4caebe

Please sign in to comment.