Staticaliza commited on
Commit
c74b254
·
verified ·
1 Parent(s): e8b05fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def build_gif(path):
84
  image = Image.open(path)
85
  frames = [f.copy().convert("RGB") for f in ImageSequence.Iterator(image)]
86
  frames = uniform_sample(frames, MAX_FRAMES)
87
- return [*frames]
88
 
89
  def build_audio(path):
90
  audio, _ = librosa.load(path, sr=AUDIO_SR, mono=True)
 
84
  image = Image.open(path)
85
  frames = [f.copy().convert("RGB") for f in ImageSequence.Iterator(image)]
86
  frames = uniform_sample(frames, MAX_FRAMES)
87
+ return frames
88
 
89
  def build_audio(path):
90
  audio, _ = librosa.load(path, sr=AUDIO_SR, mono=True)