mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
8e90f9024d
We can derive `isRefinerAvailable` from the query result (eg are there any refiner models installed). This is a piece of server state, so by using the list models response directly, we can avoid needing to manually keep the client in sync with the server. Created a `useIsRefinerAvailable()` hook to return this boolean wherever it is needed. Also updated the main models & refiner models endpoints to only return the appropriate models. Now we don't need to filter the data on these endpoints. |
||
---|---|---|
.. | ||
__init__.py | ||
baseinvocation.py | ||
collections.py | ||
compel.py | ||
controlnet_image_processors.py | ||
cv.py | ||
generate.py | ||
image.py | ||
infill.py | ||
latent.py | ||
math.py | ||
metadata.py | ||
model.py | ||
noise.py | ||
param_easing.py | ||
params.py | ||
prompt.py | ||
sdxl.py | ||
upscale.py |