fix: images

This commit is contained in:
Timothy J. Baek 2024-02-24 15:48:14 -08:00
parent 32da2aa511
commit e15e015db1
2 changed files with 8 additions and 6 deletions

View file

@ -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 () => {