未验证 提交 d9fdb521 编写于 作者: G GeorgLegato 提交者: GitHub

Update script.js

updated how tabs are presented in DOM with Gradio 3.23.
上级 22bcc7be
......@@ -7,7 +7,7 @@ function gradioApp() {
}
function get_uiCurrentTab() {
return gradioApp().querySelector('#tabs button:not(.border-transparent)')
return gradioApp().querySelector('#tabs button.selected')
}
function get_uiCurrentTabContent() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册