-
-
Save kagermanov27/6b4b4689135d6d71cb9f2033b1e66c05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def update_downloaded_images(self): | |
new_results = list(set(self.unique_results + self.previous_results)) | |
self.new_results = {"previous": new_results} | |
with open('datasets/previous_images.json', 'w') as f: | |
json.dump(self.new_results, f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment