Commit Graph

16 Commits

Author SHA1 Message Date
cocoon 4f4a5b9f6c fix: correct type-check order in _generate() to prevent AttributeError on non-string input
The previous guard `not text.strip() or not isinstance(text, str)` called
.strip() before verifying that text is actually a string, causing an
AttributeError (e.g. for int input) instead of the intended ValueError.

Swap operand order so isinstance check short-circuits first.

Closes #228
2026-04-09 16:13:40 +00:00
刘鑫 d9cf376e16 update voxcpm2 2026-03-31 11:50:37 +08:00
vytskalt f2e203d5e2 print debug messages to stderr instead of stdout 2026-01-09 20:05:52 +02:00
刘鑫 a266c0a88d add lora funetine webUI; optimize lora save and load logic 2025-12-09 21:34:39 +08:00
刘鑫 400f47a516 Modify lora inference api 2025-12-05 22:22:13 +08:00
Labmem-Zhouyx b1f7593ae0 Update: default no denoise & normalize 2025-12-05 22:16:27 +08:00
Labmem-Zhouyx 6a5e713698 fix: streaming mode 2025-12-05 22:06:15 +08:00
Labmem-Zhouyx 3443dbb212 Update: VoxCPM1.5 and fine-tuning supprt 2025-12-05 21:04:51 +08:00
AbrahamSanders 5c5da0dbe6 Add a streaming API for VoxCPM 2025-09-19 16:56:11 -04:00
刘鑫 dc6b6d1d1c Fx: capture compile error on Windows 2025-09-18 19:23:13 +08:00
刘鑫 cef6aefb3d remove \n from input text 2025-09-18 14:57:45 +08:00
刘鑫 e5bcb735f0 Remove segment text logic 2025-09-18 12:02:37 +08:00
刘鑫 605ac2d8e4 Replace the text normalization library 2025-09-16 22:16:40 +08:00
刘鑫 436e8cd6e5 set default repo id 2025-09-16 16:52:42 +08:00
刘鑫 11574ae93d surport load model from local path 2025-09-16 16:46:44 +08:00
zengguoyang 272b8ffbf6 init 2025-09-16 11:46:47 +08:00