mrcuddle commited on
Commit
0bf4a8e
·
verified ·
1 Parent(s): edfd1dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -13,7 +13,7 @@ pipeline = StableVideoDiffusionPipeline.from_pretrained(
13
  )
14
  pipeline.to(device)
15
 
16
- @spaces.GPUI(duration=120)
17
  def generate_video(image_path, seed):
18
  # Load and preprocess the image
19
  image = load_image(image_path)
@@ -41,9 +41,6 @@ iface = gr.Interface(
41
  outputs=gr.Video(label="Generated Video"),
42
  title="Stable Video Diffusion",
43
  description="Generate a video from an uploaded image using Stable Video Diffusion.",
44
- examples=[
45
- ["image.jpeg", 42],
46
- ],
47
  )
48
 
49
  # Launch the interface
 
13
  )
14
  pipeline.to(device)
15
 
16
+ @spaces.GPU(duration=120)
17
  def generate_video(image_path, seed):
18
  # Load and preprocess the image
19
  image = load_image(image_path)
 
41
  outputs=gr.Video(label="Generated Video"),
42
  title="Stable Video Diffusion",
43
  description="Generate a video from an uploaded image using Stable Video Diffusion.",
 
 
 
44
  )
45
 
46
  # Launch the interface