Update app.py
Browse files
app.py
CHANGED
@@ -313,7 +313,7 @@ def generate_image(prompt_mash, steps, seed, cfg_scale, width, height, progress)
|
|
313 |
good_vae=good_vae,
|
314 |
):
|
315 |
images.append(img)
|
316 |
-
progress(
|
317 |
if len(images) == 4: # Collect exactly 4 images
|
318 |
break
|
319 |
except Exception as e:
|
|
|
313 |
good_vae=good_vae,
|
314 |
):
|
315 |
images.append(img)
|
316 |
+
progress(len(images) / 4 * 100) # Update progress as a percentage
|
317 |
if len(images) == 4: # Collect exactly 4 images
|
318 |
break
|
319 |
except Exception as e:
|