Spaces:
Running
on
Zero
Running
on
Zero
RageshAntony
commited on
fix
Browse files- check_app.py +1 -1
check_app.py
CHANGED
@@ -170,7 +170,7 @@ def generate_image_with_progress(model_name,pipe, prompt, num_steps, guidance_sc
|
|
170 |
image = pipe(**common_args).images[0]
|
171 |
filepath = save_generated_image(image, model_name, prompt)
|
172 |
# Then, reload the gallery
|
173 |
-
images, load_message = load_images_from_directory(
|
174 |
print(f"Saved image to: {filepath}")
|
175 |
return seed, image, images
|
176 |
|
|
|
170 |
image = pipe(**common_args).images[0]
|
171 |
filepath = save_generated_image(image, model_name, prompt)
|
172 |
# Then, reload the gallery
|
173 |
+
images, load_message = load_images_from_directory(model_name)
|
174 |
print(f"Saved image to: {filepath}")
|
175 |
return seed, image, images
|
176 |
|