alexnasa commited on
Commit
5d66505
·
verified ·
1 Parent(s): ea97ae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -497,7 +497,7 @@ def animate_scene(input_video, max_duration_s, edited_frame, rc_str,
497
  edited_frame_png = os.path.join(output_dir, 'edited_frame.png')
498
  Image.open(edited_frame).save(edited_frame_png)
499
 
500
- print(f'{session_id} inference started')
501
 
502
  output_video_path = _animate(
503
  input_video, max_duration_s, edited_frame_png, rc_bool,
@@ -752,7 +752,7 @@ with gr.Blocks(css=css, title="Wan 2.2 Animate --replace", theme=gr.themes.Ocean
752
  """)
753
  input_video = gr.Video(label="Input Video", height=512)
754
 
755
- max_duration_slider = gr.Slider(2, 10, 2, step=2, label="Max Duration", visible=False)
756
 
757
  gr.Examples(
758
  examples=[
 
497
  edited_frame_png = os.path.join(output_dir, 'edited_frame.png')
498
  Image.open(edited_frame).save(edited_frame_png)
499
 
500
+ print(f'{session_id} inference started with {rc_str} and duration of {max_duration_s}')
501
 
502
  output_video_path = _animate(
503
  input_video, max_duration_s, edited_frame_png, rc_bool,
 
752
  """)
753
  input_video = gr.Video(label="Input Video", height=512)
754
 
755
+ max_duration_slider = gr.Slider(2, 4, 2, step=2, label="Max Duration", visible=False)
756
 
757
  gr.Examples(
758
  examples=[