pid / app.py

Commit History

Layout: prompt + run inline above image; advanced settings in accordion below; match slider max_height to height
d1e77f7

apolinario commited on

Bump preview + slider heights to 720/900px
9d0034c

apolinario commited on

Stream PiD's 4 internal student-sampler steps (yield after each); 'Upscaling with PiD — step K/4' label
622f4d0

apolinario commited on

Drop intermediate captures + gallery; use gr.ImageSlider for Z-Image vs PiD A/B; dynamic 'Generating Z-Image step X/N' / 'Upscaling' labels
e2f50b1

apolinario commited on

Stream taef1 previews from Z-Image (thread+queue) into a flash gr.Image; swap to gr.Gallery only when all PiD steps done
afb0b5a

apolinario commited on

Fix _latent_to_pil squeeze dim (T=1, dim=1 not dim=0); stream gallery as each PiD step completes
6cd8e25

apolinario commited on

Patch Gemma2.forward to put torch.tensor on the embedding's device (ZeroGPU rejects the CPU normalizer cross-device multiply)
9014add

apolinario commited on

Replace transformers' vmap-based mask broadcaster with explicit broadcasting (ZeroGPU __torch_function__ can't fake-alloc inside vmap)
b0fc9e3

apolinario commited on

Force eager attention on Z-Image text encoder (vmap conflict with ZeroGPU); add Citrus theme + dark-mode color css
bcabac3

apolinario commited on

Initial PiD + Z-Image step-by-step denoising demo for ZeroGPU
0972cc0

apolinario commited on