From e897692f7bc8b27ebe5bc803ec44fda3427ea6d8 Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Wed, 21 Jun 2023 11:36:37 +0200 Subject: [PATCH] fix: filename --- matrixai/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrixai/__init__.py b/matrixai/__init__.py index 4d505d2..962d727 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -130,7 +130,7 @@ def run(): f"An error occurred while creating the image file: {e}") return None - return img_file + return filename filename = await generate_image(prompt, style, ratio, negative)