mirror of
https://github.com/fspecii/ace-step-ui.git
synced 2026-04-25 06:05:47 +03:00
[GH-ISSUE #56] Training LoRA fails with Error 500 - Radio component serialization issue #49
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ace-step-ui#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Nates4a on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/fspecii/ace-step-ui/issues/56
First of all
Thank you so much for creating this app, it's incredibly useful! I've been enjoying using it and really appreciate all the work you've put into it.
While using the Training section, I encountered an error that I wanted to report to help improve the project.
Summary
The Training LoRA section fails with Error 500 when clicking any button (e.g., "Create Dataset", "Auto-label", "Generate Lyrics", etc.). The error is caused by incorrect serialization of Radio component values by the
@gradio/client.Environment
Steps to reproduce
Expected behavior
Training actions should execute without errors.
Actual behavior
Any action in the Training LoRA section fails immediately with Error 500.
Error logs
Server startup (successful):
Error when clicking any training button:
Subsequent API failures (Error 500):
Root cause analysis
The
@gradio/clientnpm package is serializing Radio component values as:But the Python Gradio backend expects a plain string:
This mismatch causes the validation to fail, which then crashes the Node.js server, resulting in
ECONNREFUSEDerrors for all subsequent training API calls.What I've tried
Related
This may be related to #49 which addresses Gradio client compatibility issues.