diff --git a/big_sleep/big_sleep.py b/big_sleep/big_sleep.py index 7a396af..a7dc2ce 100644 --- a/big_sleep/big_sleep.py +++ b/big_sleep/big_sleep.py @@ -421,6 +421,7 @@ def encode_max_and_min(self, text, img=None, encoding=None, text_min=""): self.encode_multiple_phrases(text_min, img=img, encoding=encoding, text_type="min") def set_clip_encoding(self, text=None, img=None, encoding=None, text_min=""): + self.current_best_score = 0 self.text = text self.text_min = text_min diff --git a/big_sleep/version.py b/big_sleep/version.py index 21320a8..73f8315 100644 --- a/big_sleep/version.py +++ b/big_sleep/version.py @@ -1 +1 @@ -__version__ = '0.8.4' +__version__ = '0.8.5'