(cls, file_name: str, device: str)
| 65 | |
| 66 | @classmethod |
| 67 | def fingerprint_inputs(cls, file_name: str, device: str) -> str: |
| 68 | file_path = folder_paths.get_full_path("embeddings", file_name) |
| 69 | with open(file_path, "rb") as f: |
| 70 | return hashlib.sha256(f.read()).hexdigest() |
| 71 | |
| 72 | @classmethod |
| 73 | def validate_inputs(cls, file_name: str, device: str) -> bool | str: |
nothing calls this directly
no outgoing calls
no test coverage detected