fix: couldn't remove interrogate_tmp dir
This commit is contained in:
parent
22bcc7be42
commit
05d7a63bbb
|
@ -41,7 +41,7 @@ def download_default_clip_interrogate_categories(content_dir):
|
||||||
errors.display(e, "downloading default CLIP interrogate categories")
|
errors.display(e, "downloading default CLIP interrogate categories")
|
||||||
finally:
|
finally:
|
||||||
if os.path.exists(tmpdir):
|
if os.path.exists(tmpdir):
|
||||||
os.remove(tmpdir)
|
os.removedirs(tmpdir)
|
||||||
|
|
||||||
|
|
||||||
class InterrogateModels:
|
class InterrogateModels:
|
||||||
|
|
Loading…
Reference in New Issue