diff --git a/studio/frontend/src/features/images/train/diffusion-train-panel.tsx b/studio/frontend/src/features/images/train/diffusion-train-panel.tsx index 5dbc545a7c..d0069ad438 100644 --- a/studio/frontend/src/features/images/train/diffusion-train-panel.tsx +++ b/studio/frontend/src/features/images/train/diffusion-train-panel.tsx @@ -128,7 +128,7 @@ const DATASET_FILE_ACCEPT = ".png,.jpg,.jpeg,.webp,.bmp,.txt,.caption,.jsonl"; const selectClass = "h-8 w-full min-w-0 text-xs *:data-[slot=select-value]:min-w-0 *:data-[slot=select-value]:truncate"; // Every settings cell is a grid item, so it needs min-w-0 to be allowed to shrink. -const fieldClass = "grid min-w-0 gap-1.5"; +const fieldClass = "grid min-w-0 gap-2"; // Merge the backend's reported families (if any) over the presets, keeping the preset // ordering (popularity) and filling labels/notes/defaults the backend omits. @@ -879,8 +879,8 @@ export function DiffusionTrainPanel({ // (settings are set once, up front); once training starts the run view (progress + // charts) replaces them. Laid out as a wide grid for the center column. const trainingSettings = ( -
-
+
+
{durationField} {numberField("LoRA rank", rank, setRank, 1)} {numberField("Resolution", resolution, setResolution, 512, { min: 64, step: 64 })} @@ -889,7 +889,7 @@ export function DiffusionTrainPanel({ {numberField("Seed", seed, setSeed, 42, { min: 0 })}
-
+
{numberField("Learning rate", learningRate, setLearningRate, 0.0001, { min: 0, step: 0.00001, @@ -918,7 +918,7 @@ export function DiffusionTrainPanel({ numberField("Warmup steps", lrWarmupSteps, setLrWarmupSteps, 0, { min: 0 })}
-
+