RageshAntony commited on
Commit
0d365b3
·
verified ·
1 Parent(s): d809331
Files changed (1) hide show
  1. 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(directory_path)
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