File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
app/src/main/java/io/github/xororz/localdream/ui/screens Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1526,6 +1526,23 @@ fun ModelRunScreen(
15261526 " preparing batch $i "
15271527 )
15281528
1529+ // Update generationParamsTmp to reflect current parameters
1530+ // This allows parameters to be changed during batch execution
1531+ generationParamsTmp = GenerationParameters (
1532+ steps = steps.roundToInt(),
1533+ cfg = cfg,
1534+ seed = 0 ,
1535+ prompt = prompt,
1536+ negativePrompt = negativePrompt,
1537+ generationTime = " " ,
1538+ width = currentWidth,
1539+ height = currentHeight,
1540+ runOnCpu = model?.runOnCpu ? : false ,
1541+ denoiseStrength = denoiseStrength,
1542+ useOpenCL = useOpenCL,
1543+ scheduler = scheduler
1544+ )
1545+
15291546 val batchIntent = Intent (
15301547 context,
15311548 BackgroundGenerationService ::class .java
You can’t perform that action at this time.
0 commit comments