Remove useless code.

This commit is contained in:
corkborg
2024-04-23 01:50:00 +09:00
parent 00083b1819
commit f452c56ea6
-2
View File
@@ -114,7 +114,6 @@ class WaifuDiffusionInterrogator(Interrogator):
self.model_path = model_path
self.tags_path = tags_path
self.kwargs = kwargs
self.use_cpu = True
def download(self) -> Tuple[os.PathLike, os.PathLike]:
print(f"Loading {self.name} model file from {self.kwargs['repo_id']}")
@@ -199,7 +198,6 @@ class MLDanbooruInterrogator(Interrogator):
self.repo_id = repo_id
self.tags = None
self.model = None
self.use_cpu = False
def download(self) -> Tuple[str, str]:
print(f"Loading {self.name} model file from {self.repo_id}")