Staticaliza commited on
Commit
8f88a71
·
verified ·
1 Parent(s): 48ebe09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,7 +62,8 @@ def generate(input=[], instruction=DEFAULT_INPUT, sampling=False, temperature=0.
62
  content.append(img)
63
  elif ext in [".mp4", ".mov", ".avi", ".mkv"]:
64
  frames = encode_video(path)
65
- content.extend(frames)
 
66
  elif ext in [".wav", ".mp3", ".flac", ".aac"]:
67
  aud, _ = librosa.load(path, sr=16000, mono=True)
68
  content.append(aud)
 
62
  content.append(img)
63
  elif ext in [".mp4", ".mov", ".avi", ".mkv"]:
64
  frames = encode_video(path)
65
+ # content.extend(frames)
66
+ content.append(frames)
67
  elif ext in [".wav", ".mp3", ".flac", ".aac"]:
68
  aud, _ = librosa.load(path, sr=16000, mono=True)
69
  content.append(aud)