Spaces:
Running
Running
Update app.py
Browse files
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(
|
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)
|