Spaces:
Paused
Paused
Revert
Browse files586 unmodified lines5875885895905915925932 unmodified lines596597598599600601602586 unmodified linesif flag == 'file':output_filename = dataprint("File: " + output_filename)yield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)if flag == 'progress':2 unmodified linesyield output_filename, gr.update(visible=True, value=preview), desc, html, gr.update(interactive=False), gr.update(interactive=True) # 20250506 pftq: Keep refreshing the video in case it got hidden when the tab was in the backgroundif flag == 'end':print("End: " + output_filename)yield output_filename, gr.update(visible=False), desc+' Video complete.', '', gr.update(interactive=True), gr.update(interactive=False)break586 unmodified lines5875885895905915922 unmodified lines595596597598599600586 unmodified linesif flag == 'file':output_filename = datayield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)if flag == 'progress':2 unmodified linesyield output_filename, gr.update(visible=True, value=preview), desc, html, gr.update(interactive=False), gr.update(interactive=True) # 20250506 pftq: Keep refreshing the video in case it got hidden when the tab was in the backgroundif flag == 'end':yield output_filename, gr.update(visible=False), desc+' Video complete.', '', gr.update(interactive=True), gr.update(interactive=False)break
app_v2v.py-2