Spaces:
Paused
Paused
test gradio
Browse files
app.py
CHANGED
@@ -146,6 +146,7 @@ This way, each frame represents a distinct scene, and there’s no redundancy be
|
|
146 |
for frame in frames:
|
147 |
conditioning_frames.append(generate_image(frame['description'], reference_image, float(controlnet_conditioning_scale)))
|
148 |
controlnet_frame_indices.append(frame['frame_index'])
|
|
|
149 |
|
150 |
video = gif_pipe(
|
151 |
prompt=prompt,
|
@@ -157,7 +158,7 @@ This way, each frame represents a distinct scene, and there’s no redundancy be
|
|
157 |
).frames[0]
|
158 |
export_to_gif(video, "output.gif")
|
159 |
|
160 |
-
|
161 |
|
162 |
# Set up Gradio interface
|
163 |
interface = gr.Interface(
|
|
|
146 |
for frame in frames:
|
147 |
conditioning_frames.append(generate_image(frame['description'], reference_image, float(controlnet_conditioning_scale)))
|
148 |
controlnet_frame_indices.append(frame['frame_index'])
|
149 |
+
yield conditioning_frames, "animation.gif"
|
150 |
|
151 |
video = gif_pipe(
|
152 |
prompt=prompt,
|
|
|
158 |
).frames[0]
|
159 |
export_to_gif(video, "output.gif")
|
160 |
|
161 |
+
yield conditioning_frames, "animation.gif"
|
162 |
|
163 |
# Set up Gradio interface
|
164 |
interface = gr.Interface(
|