forked from extern/easydiffusion
Remove unused variables
This commit is contained in:
parent
338ceffa6d
commit
24fbbf8aa8
@ -88,7 +88,6 @@ maskResetButton.style.fontWeight = 'normal'
|
|||||||
maskResetButton.style.fontSize = '10pt'
|
maskResetButton.style.fontSize = '10pt'
|
||||||
|
|
||||||
let serverState = {'status': 'Offline', 'time': Date.now()}
|
let serverState = {'status': 'Offline', 'time': Date.now()}
|
||||||
let lastPromptUsed = ''
|
|
||||||
let bellPending = false
|
let bellPending = false
|
||||||
|
|
||||||
let taskQueue = []
|
let taskQueue = []
|
||||||
@ -429,7 +428,6 @@ async function doMakeImage(task) {
|
|||||||
|
|
||||||
let res = undefined
|
let res = undefined
|
||||||
try {
|
try {
|
||||||
const lastTask = serverState.task
|
|
||||||
let renderRequest = undefined
|
let renderRequest = undefined
|
||||||
do {
|
do {
|
||||||
res = await fetch('/render', {
|
res = await fetch('/render', {
|
||||||
@ -634,7 +632,6 @@ async function doMakeImage(task) {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
lastPromptUsed = reqBody['prompt']
|
|
||||||
showImages(reqBody, stepUpdate, outputContainer, false)
|
showImages(reqBody, stepUpdate, outputContainer, false)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('request error', e)
|
console.log('request error', e)
|
||||||
|
Loading…
Reference in New Issue
Block a user