Revert
Browse files- app_v2v.py +0 -2
app_v2v.py
CHANGED
|
@@ -587,7 +587,6 @@ def process(input_video, prompt, n_prompt, seed, batch, resolution, total_second
|
|
| 587 |
|
| 588 |
if flag == 'file':
|
| 589 |
output_filename = data
|
| 590 |
-
print("File: " + output_filename)
|
| 591 |
yield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)
|
| 592 |
|
| 593 |
if flag == 'progress':
|
|
@@ -596,7 +595,6 @@ def process(input_video, prompt, n_prompt, seed, batch, resolution, total_second
|
|
| 596 |
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
|
| 597 |
|
| 598 |
if flag == 'end':
|
| 599 |
-
print("End: " + output_filename)
|
| 600 |
yield output_filename, gr.update(visible=False), desc+' Video complete.', '', gr.update(interactive=True), gr.update(interactive=False)
|
| 601 |
break
|
| 602 |
|
|
|
|
| 587 |
|
| 588 |
if flag == 'file':
|
| 589 |
output_filename = data
|
|
|
|
| 590 |
yield output_filename, gr.update(), gr.update(), gr.update(), gr.update(interactive=False), gr.update(interactive=True)
|
| 591 |
|
| 592 |
if flag == 'progress':
|
|
|
|
| 595 |
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
|
| 596 |
|
| 597 |
if flag == 'end':
|
|
|
|
| 598 |
yield output_filename, gr.update(visible=False), desc+' Video complete.', '', gr.update(interactive=True), gr.update(interactive=False)
|
| 599 |
break
|
| 600 |
|