Fabrice-TIERCELIN commited on
Commit
d852677
·
verified ·
1 Parent(s): b94b6ef

end_image = gr.Image(sources='upload', type="numpy", label="End Frame (Optional)", height=320)

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1131,6 +1131,7 @@ with block:
1131
  text_to_video_hint = gr.HTML("Text-to-Video badly works with a flash effect at the start. 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.")
1132
  input_image = gr.Image(sources='upload', type="numpy", label="Image", height=320)
1133
  image_position = gr.Slider(label="Image position", minimum=0, maximum=100, value=0, step=1, info='0=Video start; 100=Video end (lower quality)')
 
1134
  input_video = gr.Video(sources='upload', label="Input Video", height=320)
1135
  timeless_prompt = gr.Textbox(label="Timeless prompt", info='Used on the whole duration of the generation', value='', placeholder="The creature starts to move, fast motion, fixed camera, focus motion, consistent arm, consistent position, mute colors, insanely detailed")
1136
  prompt_number = gr.Slider(label="Timed prompt number", minimum=0, maximum=1000, value=0, step=1, info='Prompts will automatically appear')
 
1131
  text_to_video_hint = gr.HTML("Text-to-Video badly works with a flash effect at the start. 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.")
1132
  input_image = gr.Image(sources='upload', type="numpy", label="Image", height=320)
1133
  image_position = gr.Slider(label="Image position", minimum=0, maximum=100, value=0, step=1, info='0=Video start; 100=Video end (lower quality)')
1134
+ end_image = gr.Image(sources='upload', type="numpy", label="End Frame (Optional)", height=320)
1135
  input_video = gr.Video(sources='upload', label="Input Video", height=320)
1136
  timeless_prompt = gr.Textbox(label="Timeless prompt", info='Used on the whole duration of the generation', value='', placeholder="The creature starts to move, fast motion, fixed camera, focus motion, consistent arm, consistent position, mute colors, insanely detailed")
1137
  prompt_number = gr.Slider(label="Timed prompt number", minimum=0, maximum=1000, value=0, step=1, info='Prompts will automatically appear')