mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
only render convert button if ckpt model
This commit is contained in:
parent
a42812d78d
commit
cab5b64f0b
@ -66,6 +66,10 @@ export const ModelConvertButton = (props: ModelConvertProps) => {
|
||||
});
|
||||
}, [data, isLoading, dispatch, t, convertModel]);
|
||||
|
||||
if (data?.format !== 'checkpoint') {
|
||||
return;
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user