mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-14 22:48:20 +02:00
Fix broken embeddings dialog when the lora info couldn't be fetched
This commit is contained in:
parent
9fb0ee2d1b
commit
a12ed7533b
@ -733,5 +733,5 @@
|
|||||||
})()
|
})()
|
||||||
async function getLoraKeywords(model) {
|
async function getLoraKeywords(model) {
|
||||||
return Bucket.retrieve(`modelinfo/lora/${model}`)
|
return Bucket.retrieve(`modelinfo/lora/${model}`)
|
||||||
.then((info) => info.keywords)
|
.then((info) => info ? info.keywords : [])
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user