i18n CreatePanel with genre picker, model selector, EditableSlider, and LoRA panel
Phase 4.3: Largest component change. Adds cascading genre picker using Phase 3 style data, DiT model selector with backend sync, EditableSlider for all numeric parameters, LoRA load/unload panel, bulk generate, vocal gender selector. Batch size max kept at 4 (not 8), inference steps max kept at 32 (not 200) to prevent OOM. Added LoRA API stubs to api.ts. Added ditModel to GenerationParams type.
This commit is contained in:
+793
-432
File diff suppressed because it is too large
Load Diff
@@ -332,6 +332,16 @@ export const generateApi = {
|
||||
status_message?: string;
|
||||
error?: string;
|
||||
}> => api('/api/generate/format', { method: 'POST', body: params, token }),
|
||||
|
||||
// LoRA management (requires ACE-Step training fork)
|
||||
loadLora: (params: { lora_path: string }, token: string): Promise<{ message: string }> =>
|
||||
api('/api/generate/lora/load', { method: 'POST', body: params, token }),
|
||||
|
||||
unloadLora: (token: string): Promise<{ message: string }> =>
|
||||
api('/api/generate/lora/unload', { method: 'POST', token }),
|
||||
|
||||
setLoraScale: (params: { scale: number }, token: string): Promise<{ message: string }> =>
|
||||
api('/api/generate/lora/scale', { method: 'POST', body: params, token }),
|
||||
};
|
||||
|
||||
// Users API
|
||||
|
||||
Reference in New Issue
Block a user