Commit Graph
22 Commits
Author SHA1 Message Date
Leonid PershinandClaude Opus 5 c7953dc4e0 fix: don't crash the UI on output files with custom names
create_text2music_ui() sorted the saved *_input_params.json files with
int(name.split('_')[1]), which assumes the generated
output_<timestamp>_<idx>_ shape. Output names are user-controlled — via
infer.py --output_path or a save_path from the UI — so any other name
raised ValueError while the Blocks were being built and took the whole
interface down before it could start:

    ValueError: invalid literal for int() with base 10: 'base'

Sort by mtime instead. That is what "previous generated input params"
means anyway (newest first) and it works for any filename; a file that
disappears between listdir() and getmtime() sorts last rather than
raising.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 20:30:58 +03:00
Leonid PershinandClaude Opus 5 6e3273d049 deps: migrate the UI to Gradio 6
Gradio was unpinned, so a fresh install pulled Gradio 6, where
gr.Audio no longer accepts show_download_button — the UI crashed on
startup with TypeError. Move forward to Gradio 6 instead of pinning
back to 5:

- requirements: gradio>=6.0.0
- drop the removed show_download_button kwarg (4 call sites)
- requirements: transformers>=4.57.0 — Gradio 6 requires
  huggingface-hub>=1.0, which transformers==4.50.0 forbids. Only
  UMT5EncoderModel and AutoTokenizer are used, so the bump is safe.

Verified: pip check clean, UI renders and server callbacks work on
gradio 6.26.0 / transformers 5.16.1 / huggingface-hub 1.30.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 18:38:12 +03:00
rkfg fc984d81fa Add lora weight 2025-05-20 08:59:00 +03:00
Gong Junmin e3a6f4f659 Revert "#194: implement negative tags for text2audio" 2025-05-18 19:42:29 +08:00
Skelp c3abb45241 #194: implement negative tags for text2audio 2025-05-17 18:14:29 +02:00
chuxij d881cb0219 add_scheduler_type_info 2025-05-15 11:57:41 +00:00
chuxij ded11fd02f fix audio2audio 2025-05-15 08:15:15 +00:00
chuxij 05c58339f0 add stable audio small pingpong sampler support 2025-05-15 06:35:17 +00:00
dannyzen 322a62d73e Removing changed src 2025-05-14 16:47:59 -04:00
dannyzen f95c91f072 Improve Docker output paths and non-Docker compatibility 2025-05-14 15:19:33 -04:00
Gong Junmin 512ab193b7 Merge pull request #155 from SD-inst/format 2025-05-13 20:33:47 +08:00
rkfg 0feca8a820 Add format selector 2025-05-13 14:41:56 +03:00
Samrat Barai f0687c8840 Merge branch 'main' into patch-1 2025-05-13 16:49:11 +06:00
Samrat Barai e2614cd6ac add auto outputs folder creation in components.py
Add the functionality to automatically create the outputs folder if it doesn't exist at line 99
2025-05-13 16:35:12 +06:00
Strange 0cd2638c78 Add output directory creation in create_text2music_ui function 2025-05-13 12:55:18 +03:00
chuxij 6ca5bd880e update ui and add examples 2025-05-13 07:00:35 +00:00
chuxij bdddf1512f fix bugs 2025-05-12 09:45:21 +00:00
chuxij da4c3da354 add snapshot_download 2025-05-12 08:45:25 +00:00
chuxij 348cebc7f8 add lora interface 2025-05-12 08:09:26 +00:00
Gong Junmin 11d697f38b support audio2audio 2025-05-10 02:52:57 +08:00
mrfakename a5746eaab6 work on pip package 2025-05-06 18:59:32 -07:00
mrfakename 54da683d36 work on pip package 2025-05-06 18:59:28 -07:00