To change the state of a tab, use the tab
method with the appropiate index and the options (in this case, the state). Since tabs are zero-index based, you should pass 1
to enable the second one:
nb.tab(1, state="normal")
You might also want to focus the corresponding tab. For that, you can use the select
method:
nb.select(1)