aach456 commited on
Commit
4b1014b
1 Parent(s): d23bc1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from moviepy.editor import ImageSequenceClip
6
  from transformers import MusicgenForConditionalGeneration, AutoProcessor
7
  from scipy.io import wavfile
8
  import ffmpeg
9
-
10
  def generate_video(image, prompt, negative_prompt, video_length):
11
  generator = torch.manual_seed(8888)
12
  device = torch.device("mps" if torch.backends.mps.is_available() else "cpu")
 
6
  from transformers import MusicgenForConditionalGeneration, AutoProcessor
7
  from scipy.io import wavfile
8
  import ffmpeg
9
+ from diffusers import I2VGenXLPipeline
10
  def generate_video(image, prompt, negative_prompt, video_length):
11
  generator = torch.manual_seed(8888)
12
  device = torch.device("mps" if torch.backends.mps.is_available() else "cpu")