mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-14 10:45:28 -05:00
8 lines
204 B
TypeScript
8 lines
204 B
TypeScript
import { useRefinerModels } from 'services/api/hooks/modelsByType';
|
|
|
|
export const useIsRefinerAvailable = () => {
|
|
const [refinerModels] = useRefinerModels();
|
|
|
|
return Boolean(refinerModels.length);
|
|
};
|