mrcuddle commited on
Commit
9a7af47
·
verified ·
1 Parent(s): 88a9dbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def generate_video(image_path, seed):
27
 
28
  # Export the frames to a video file
29
  output_video_path = "generated.mp4"
30
- export_to_video(frames, output_video_path, fps=7)
31
 
32
  return output_video_path
33
 
@@ -36,7 +36,7 @@ iface = gr.Interface(
36
  fn=generate_video,
37
  inputs=[
38
  gr.Image(type="filepath", label="Upload Image"),
39
- gr.Number(label="Seed", value=42)
40
  ],
41
  outputs=gr.Video(label="Generated Video"),
42
  title="Stable Video Diffusion",
 
27
 
28
  # Export the frames to a video file
29
  output_video_path = "generated.mp4"
30
+ export_to_video(frames, output_video_path, fps=25)
31
 
32
  return output_video_path
33
 
 
36
  fn=generate_video,
37
  inputs=[
38
  gr.Image(type="filepath", label="Upload Image"),
39
+ gr.Number(label="Seed", value=666666)
40
  ],
41
  outputs=gr.Video(label="Generated Video"),
42
  title="Stable Video Diffusion",