Commit Graph

2 Commits

Author SHA1 Message Date
andygoodluck
17efebc2db fix: Replace Chinese comment with English 2026-02-15 10:13:08 +08:00
Andy Goodwill
83bff209d6 fix: Add JSON error handling for config parsing
- Added try-except in AudioVAEComponentConfig.from_metadata() for JSON parsing
- Added try-except in model_detection.py for transformer config parsing
- Changed bare json.loads() calls to properly handle JSONDecodeError
- Provides clear error messages instead of crashing
- Added unit tests for the fixes

Fixes potential crashes when config contains invalid JSON
2026-02-14 19:35:04 +08:00