Remove print() in detector_config.py

Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
Sergey Krashevich 2023-05-21 12:25:54 +03:00 committed by GitHub
parent bebb22dc11
commit 2460b4822a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,6 @@ class ModelConfig(BaseModel):
def compute_model_hash(self) -> None:
if not self.path or not os.path.exists(self.path):
print("File does not exist or path is empty.")
self._model_hash = hashlib.md5(b"unknown").hexdigest()
else:
with open(self.path, "rb") as f: