rotemtzaban / STIT

MIT License
1.2k stars 170 forks source link

missing import line in styleclip_global_utils.py? #20

Closed bycloudai closed 2 years ago

bycloudai commented 2 years ago

Hi, thank you so much for sharing this amazing work. I just wanted to ask that if there's a missing line import clip in the file editings/styleclip_global_utils.py, because I got the following error when trying to run it with styleclip and it was fixed by adding that import line.

image

Thanks!

a-ggghost commented 2 years ago

Same here. I thought it was strange because the line seems deliberately removed in a3389eb04067837e82d61e99bdb2f5c072a81272

rotemtzaban commented 2 years ago

Hi, I accidentally removed this line earlier but it has already been fixed. Are you working with the latest version? The current implementation imports clip in a try... excpet block, to allow users to use the regular edits without installing clip.