Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UX-Decoder/Semantic-SAM
/ change_vocab
Function
change_vocab
demo_auto_generation.py:108–112 ·
view source on GitHub ↗
(choice)
Source
from the content-addressed store, hash-verified
106
# Auto generation demo.
107
''
&
#x27;
108
def
change_vocab(choice):
109
if
choice:
110
return
gr.update(visible=True)
111
else
:
112
return
gr.update(visible=False)
113
114
115
with
demo:
Callers
nothing calls this directly
Calls
1
update
Method · 0.45
Tested by
no test coverage detected