forked from open-webui/open-webui
fix: images
This commit is contained in:
parent
32da2aa511
commit
e15e015db1
2 changed files with 8 additions and 6 deletions
|
@ -32,9 +32,11 @@
|
|||
const getModels = async () => {
|
||||
models = await getDiffusionModels(localStorage.token).catch((error) => {
|
||||
toast.error(error);
|
||||
return null;
|
||||
return [];
|
||||
});
|
||||
selectedModel = await getDefaultDiffusionModel(localStorage.token).catch((error) => {
|
||||
return '';
|
||||
});
|
||||
selectedModel = await getDefaultDiffusionModel(localStorage.token);
|
||||
};
|
||||
|
||||
const updateAUTOMATIC1111UrlHandler = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue