mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-05 22:09:23 +01: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) {
|
||||
return Bucket.retrieve(`modelinfo/lora/${model}`)
|
||||
.then((info) => info.keywords)
|
||||
.then((info) => info ? info.keywords : [])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user