Spaces:
Paused
Paused
Move inputs
Browse files979 unmodified lines98098198298398498521 unmodified lines10071008100910101011101210131 unmodified line101510161017101810191020102110221023102410251026979 unmodified linesprogress_desc = gr.Markdown('', elem_classes='no-generating-animation')progress_bar = gr.HTML('', elem_classes='no-generating-animation')with gr.Row(visible=False):gr.Examples(examples = [21 unmodified lines],run_on_click = True,fn = process_video,inputs = [input_video, prompt, n_prompt, randomize_seed, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch],outputs = [result_video, preview_image, progress_desc, progress_bar, start_button, end_button],cache_examples = True,)1 unmodified linegr.Markdown('## Guide')gr.Markdown("I discourage to use the Text-to-Video feature. You should rather generate an image with Flux and use Image-to-Video. You will save time.")# 20250506 pftq: Updated inputs to include num_clean_framesips = [input_video, prompt, n_prompt, randomize_seed, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch]start_button.click(fn=process_video, inputs=ips, outputs=[result_video, preview_image, progress_desc, progress_bar, start_button, end_button])end_button.click(fn=end_process)def handle_field_debug_change(input_image_debug_data, input_video_debug_data, prompt_debug_data, total_second_length_debug_data):global input_image_debug_value, input_video_debug_value, prompt_debug_value, total_second_length_debug_value979 unmodified lines98098198298398498598698798898999021 unmodified lines10121013101410151016101710181 unmodified line102010211022102310241025979 unmodified linesprogress_desc = gr.Markdown('', elem_classes='no-generating-animation')progress_bar = gr.HTML('', elem_classes='no-generating-animation')# 20250506 pftq: Updated inputs to include num_clean_framesips_video = [input_video, prompt, n_prompt, randomize_seed, seed, batch, resolution, total_second_length, latent_window_size, steps, cfg, gs, rs, gpu_memory_preservation, use_teacache, no_resize, mp4_crf, num_clean_frames, vae_batch]start_button.click(fn=process_video, inputs=ips_video, outputs=[result_video, preview_image, progress_desc, progress_bar, start_button, end_button])end_button.click(fn=end_process)with gr.Row(visible=False):gr.Examples(examples = [21 unmodified lines],run_on_click = True,fn = process_video,inputs = ips_video,outputs = [result_video, preview_image, progress_desc, progress_bar, start_button, end_button],cache_examples = True,)1 unmodified linegr.Markdown('## Guide')gr.Markdown("I discourage to use the Text-to-Video feature. You should rather generate an image with Flux and use Image-to-Video. You will save time.")def handle_field_debug_change(input_image_debug_data, input_video_debug_data, prompt_debug_data, total_second_length_debug_data):global input_image_debug_value, input_video_debug_value, prompt_debug_value, total_second_length_debug_value
app_v2v.py+6-7