mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-30 02:53:41 +08:00
FLUX: add generate images tqdm desc
This commit is contained in:
parent
aed4b007fc
commit
68518a3194
@ -184,7 +184,7 @@ class FluxPipeline:
|
|||||||
mx.eval(x_t)
|
mx.eval(x_t)
|
||||||
|
|
||||||
images = []
|
images = []
|
||||||
for i in tqdm(range(len(x_t)), disable=not progress):
|
for i in tqdm(range(len(x_t)), disable=not progress, desc="generate images"):
|
||||||
images.append(self.decode(x_t[i : i + 1]))
|
images.append(self.decode(x_t[i : i + 1]))
|
||||||
mx.eval(images[-1])
|
mx.eval(images[-1])
|
||||||
images = mx.concatenate(images, axis=0)
|
images = mx.concatenate(images, axis=0)
|
||||||
|
Loading…
Reference in New Issue
Block a user