MCPcopy 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'''
108def change_vocab(choice):
109 if choice:
110 return gr.update(visible=True)
111 else:
112 return gr.update(visible=False)
113
114
115with demo:

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected