mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Restore image steps setting when Settings modal is presented
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
updateAUTOMATIC1111Url,
|
||||
updateDefaultDiffusionModel,
|
||||
updateImageSize,
|
||||
getImageSteps,
|
||||
updateImageSteps
|
||||
} from '$lib/apis/images';
|
||||
import { getBackendConfig } from '$lib/apis';
|
||||
@@ -85,6 +86,7 @@
|
||||
|
||||
if (enableImageGeneration && AUTOMATIC1111_BASE_URL) {
|
||||
imageSize = await getImageSize(localStorage.token);
|
||||
steps = await getImageSteps(localStorage.token);
|
||||
getModels();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user