Update script.js
updated how tabs are presented in DOM with Gradio 3.23.
This commit is contained in:
parent
22bcc7be42
commit
d9fdb52149
@ -7,7 +7,7 @@ function gradioApp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function get_uiCurrentTab() {
|
function get_uiCurrentTab() {
|
||||||
return gradioApp().querySelector('#tabs button:not(.border-transparent)')
|
return gradioApp().querySelector('#tabs button.selected')
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_uiCurrentTabContent() {
|
function get_uiCurrentTabContent() {
|
||||||
|
Loading…
Reference in New Issue
Block a user