Staticaliza commited on
Commit
3ca6e64
·
verified ·
1 Parent(s): f8e40d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def generate(input, instruction=DEFAULT_INPUT, sampling=False, temperature=0.7,
85
  image = Image.open(input).convert("RGB")
86
  content.append(image)
87
  elif filetype == "GIF":
88
- frames = encode_gif(input_file)
89
  content.extend(frames)
90
  elif filetype == "Video":
91
  frames = encode_video(input)
 
85
  image = Image.open(input).convert("RGB")
86
  content.append(image)
87
  elif filetype == "GIF":
88
+ frames = encode_gif(input)
89
  content.extend(frames)
90
  elif filetype == "Video":
91
  frames = encode_video(input)