Remove onnx models from img2img and unified canvas

This commit is contained in:
Brandon Rising 2023-07-26 16:30:02 -04:00
parent f26a423e95
commit 4d732e06de
6 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,4 @@
import{A as m,fS as Ze,z as y,a4 as Xa,fT as Ya,af as va,aj as d,fU as b,fV as t,fW as Ka,fX as h,fY as ua,fZ as Za,f_ as Ja,aI as Qa,f$ as et,ad as rt,g0 as at}from"./index-efb4c895.js";import{s as fa,n as o,t as tt,o as ha,p as ot,q as ma,v as ga,w as ya,x as it,y as Sa,z as pa,A as xr,B as nt,D as lt,E as st,F as xa,G as $a,H as ka,J as dt,K as _a,L as ct,M as bt,N as vt,O as ut,Q as wa,R as ft,S as ht,T as mt,U as gt,V as yt,W as St,e as pt,X as xt}from"./MantineProvider-97b2a7de.js";var za=String.raw,Ca=za`
import{A as m,fS as Ze,z as y,a4 as Xa,fT as Ya,af as va,aj as d,fU as b,fV as t,fW as Ka,fX as h,fY as ua,fZ as Za,f_ as Ja,aI as Qa,f$ as et,ad as rt,g0 as at}from"./index-abee108c.js";import{s as fa,n as o,t as tt,o as ha,p as ot,q as ma,v as ga,w as ya,x as it,y as Sa,z as pa,A as xr,B as nt,D as lt,E as st,F as xa,G as $a,H as ka,J as dt,K as _a,L as ct,M as bt,N as vt,O as ut,Q as wa,R as ft,S as ht,T as mt,U as gt,V as yt,W as St,e as pt,X as xt}from"./MantineProvider-e109526d.js";var za=String.raw,Ca=za`
:root,
:host {
--chakra-vh: 100vh;

View File

@ -12,7 +12,7 @@
margin: 0;
}
</style>
<script type="module" crossorigin src="./assets/index-efb4c895.js"></script>
<script type="module" crossorigin src="./assets/index-abee108c.js"></script>
</head>
<body dir="ltr">

View File

@ -65,7 +65,11 @@ const ParamMainModelSelect = () => {
});
});
forEach(onnxModels?.entities, (model, id) => {
if (!model) {
if (
!model ||
activeTabName === 'unifiedCanvas' ||
activeTabName === 'img2img'
) {
return;
}