(choice)
| 98 | return video_gr, info_gr |
| 99 | |
| 100 | def 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 | |
| 106 | def ref_video_fn(path_of_ref_video): |
| 107 | if path_of_ref_video is not None: |