MCPcopy
hub / github.com/yerfor/GeneFacePlusPlus / toggle_audio_file

Function toggle_audio_file

inference/app_genefacepp.py:100–104  ·  view source on GitHub ↗
(choice)

Source from the content-addressed store, hash-verified

98 return video_gr, info_gr
99
100def toggle_audio_file(choice):
101 if choice == False:
102 return gr.update(visible=True), gr.update(visible=False)
103 else:
104 return gr.update(visible=False), gr.update(visible=True)
105
106def ref_video_fn(path_of_ref_video):
107 if path_of_ref_video is not None:

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected