Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def generate(prompt,
|
|
85 |
scale_middle = scale_total.index(0)
|
86 |
post_generation_slider_update = gr.update(label=comma_concepts_x, value=0, minimum=scale_min, maximum=scale_max, interactive=True)
|
87 |
avg_diff_x = avg_diff.cpu()
|
88 |
-
|
89 |
return x_concept_1,x_concept_2, avg_diff_x, export_to_gif(images, "clip.gif", fps=5), canvas, images, images[scale_middle], post_generation_slider_update, seed
|
90 |
|
91 |
def update_pre_generated_images(slider_value, total_images):
|
|
|
85 |
scale_middle = scale_total.index(0)
|
86 |
post_generation_slider_update = gr.update(label=comma_concepts_x, value=0, minimum=scale_min, maximum=scale_max, interactive=True)
|
87 |
avg_diff_x = avg_diff.cpu()
|
88 |
+
print(images)
|
89 |
return x_concept_1,x_concept_2, avg_diff_x, export_to_gif(images, "clip.gif", fps=5), canvas, images, images[scale_middle], post_generation_slider_update, seed
|
90 |
|
91 |
def update_pre_generated_images(slider_value, total_images):
|