Spaces:
Running on Zero
Running on Zero
Commit History
-
Add prompt safety filter and make guards mandatory Running
Run Nemotron 3.5 Content Safety on the prompt before generation (fail-closed input filter) in addition to the post-generation image check. Remove the UI toggles so both safety filters always run; env-var opt-outs remain for local dev.bfecd26
-
Hide download bars during model load
Suppress track_tqdm while loading the diffusion and guard models so the first-run progress shows only the explicit "Loading model" status instead of concatenated Hugging Face download bars.522c6a9 -
Show a real denoising progress bar
Re-enable track_tqdm and shim Gradio's Progress.tqdm to backfill the missing length (from n_steps) and description onto the model's denoising bar, gated to the generation phase so download/load bars are untouched.991484b -
Fix misleading progress label during generation
Drop track_tqdm (it hijacked the model's length-less, unlabeled tqdm and showed a bogus "Downloading (incomplete total...)" indicator). Keep explicit phase labels: model loading, generating, and safety filter.9c74eea -
Add generation progress feedback
Surface three phases in the UI via gr.Progress: model loading (first run), live denoising-step bar (track_tqdm with disable_tqdm off), and safety filter.cd66dcf -
Use more readable fonts (Inter for text, JetBrains Mono for code)
a794ce5 -
Improve demo UX: examples, advanced accordion, randomize seed, citation
- Add gr.Examples with showcase prompts (one-click prompt fill) - Collapse advanced sampling controls into an 'Advanced settings' accordion; keep prompt/resolution/steps/guidance/temperature/seed/guard up front - Add a Randomize seed button - Add a BibTeX citation block in the About section8c05efe -
Add paper (arXiv) and model links to demo header
082667a -
Remove obsolete UI knobs not wired to the model
Verified against the Hub model's text_to_image signature: - schedule: not a model param (ignored via kwargs); schedule is hardcoded 'shift' internally - use_cache: forced False under bidirectional dlm_paradigm, so the toggle was a no-op - block_policy: not a model param (ignored) Drop these from the UI, config, plumbing, and smoke test. Remaining knobs (shift, confidence_policy, schedule_temp, alg_temp, dynamic_temperature, min_temperature, edit_threshold, etc.) are all consumed by the model.abad219 -
Remove Legacy Mode option from UI
is_legacy is a model-compatibility flag for old checkpoints; the released 1024px model requires is_legacy=False. Hardcode it via DEFAULT_GENERATION_CONFIG and drop the checkbox and plumbing.377842d -
Remove account/org info dump from startup logs
Drop the whoami-based Hub access check; keep only the masked token-present log.c0dc5d2 -
Add startup Hub access check (whoami + model_info)
Logs which account the HF token maps to and whether it can read MODEL_ID, so private-repo 404s are diagnosable directly from the Space logs.8d7976d -
Robust HF token resolution + startup diagnostic
- Check HF_TOKEN / HUGGING_FACE_HUB_TOKEN / HUGGINGFACEHUB_API_TOKEN - Log masked token status at startup; warn clearly when absent - Raise an actionable error (not a bare 404) when loading a private repo without a token - Pass resolved token to the image guard too978f0a8 -
Make app compatible with Gradio 6 (Space) and 4.x (local)
- Drop show_download_button from Gallery/Image (removed in Gradio 6; download shown by default) - Move NVIDIA-green theme to launch() on Gradio 6, keep on Blocks for <6 - Version-detect via gr.__version__ to support bothc9c896d -
Add Gradio T2I demo with Nemotron 3.5 guard, model write-up, and figures
- Gradio Space app for nvidia/NL-Diffusion-Image (text-to-image) - NSFW guard via nvidia/Nemotron-3.5-Content-Safety (EU-accessible) - About-the-model section with sanitized announcement content + assets - NVIDIA-green theme; PNG/GIF assets via Git LFS; ignore internal/local artifacts904bf44 -
initial commit
Verified signature245d8da