diff --git a/matrixai/__init__.py b/matrixai/__init__.py index 71a29b4..4d505d2 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -130,7 +130,6 @@ def run(): f"An error occurred while creating the image file: {e}") return None - await imagine.close() return img_file filename = await generate_image(prompt, style, ratio, negative)