Bugfix for "Directive" mode

main
File_xor 2023-06-07 02:04:50 +09:00
parent 5927f7c090
commit 05c1503622
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ class Clip_IO(scripts.Script):
warnings.warn(f'Directive "{dir.name}" does not exist.')
pass
pass
cond = o
cond = i
if cond is not None and cond.shape[0] > 0 and (cond.shape[1] == 768 or cond.shape[1] == 1024):
return cond.to(devices.device)