Include upscale output path in queue job
This commit is contained in:
parent
bfb3f58c8d
commit
2e7b622402
5
main.go
5
main.go
|
|
@ -11145,10 +11145,13 @@ func buildUpscaleView(state *appState) fyne.CanvasObject {
|
||||||
description += fmt.Sprintf(" + AI (%s)", state.upscaleAIModel)
|
description += fmt.Sprintf(" + AI (%s)", state.upscaleAIModel)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
desc := fmt.Sprintf("%s → %s", description, filepath.Base(outputPath))
|
||||||
|
|
||||||
return &queue.Job{
|
return &queue.Job{
|
||||||
Type: queue.JobTypeUpscale,
|
Type: queue.JobTypeUpscale,
|
||||||
Title: "Upscale: " + filepath.Base(state.upscaleFile.Path),
|
Title: "Upscale: " + filepath.Base(state.upscaleFile.Path),
|
||||||
Description: description,
|
Description: desc,
|
||||||
|
OutputFile: outputPath,
|
||||||
Config: map[string]interface{}{
|
Config: map[string]interface{}{
|
||||||
"inputPath": state.upscaleFile.Path,
|
"inputPath": state.upscaleFile.Path,
|
||||||
"outputPath": outputPath,
|
"outputPath": outputPath,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user