print("File: " + output_filename)
Browse files- app_endframe.py +2 -0
app_endframe.py
CHANGED
|
@@ -718,6 +718,7 @@ def process(input_video, end_frame, end_frame_weight, prompt, n_prompt, seed, ba
|
|
| 718 |
|
| 719 |
if flag == 'file':
|
| 720 |
output_filename = data
|
|
|
|
| 721 |
yield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)
|
| 722 |
|
| 723 |
if flag == 'progress':
|
|
@@ -726,6 +727,7 @@ def process(input_video, end_frame, end_frame_weight, prompt, n_prompt, seed, ba
|
|
| 726 |
yield 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 background
|
| 727 |
|
| 728 |
if flag == 'end':
|
|
|
|
| 729 |
yield output_filename, gr.update(visible=False), desc+' Video complete.', '', gr.update(interactive=True), gr.update(interactive=False)
|
| 730 |
break
|
| 731 |
|
|
|
|
| 718 |
|
| 719 |
if flag == 'file':
|
| 720 |
output_filename = data
|
| 721 |
+
print("File: " + output_filename)
|
| 722 |
yield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)
|
| 723 |
|
| 724 |
if flag == 'progress':
|
|
|
|
| 727 |
yield 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 background
|
| 728 |
|
| 729 |
if flag == 'end':
|
| 730 |
+
print("End: " + output_filename)
|
| 731 |
yield output_filename, gr.update(visible=False), desc+' Video complete.', '', gr.update(interactive=True), gr.update(interactive=False)
|
| 732 |
break
|
| 733 |
|