From f0aa04c061940e445a8a753acb0da58b498ff22e Mon Sep 17 00:00:00 2001 From: 0xMRTT <0xMRTT@proton.me> Date: Wed, 21 Jun 2023 11:51:27 +0200 Subject: [PATCH] fix: use first arg --- matrixai/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/matrixai/__init__.py b/matrixai/__init__.py index 9840c73..83d6094 100644 --- a/matrixai/__init__.py +++ b/matrixai/__init__.py @@ -159,7 +159,10 @@ def run(): try: print(match.args()) - inspiration = match.args() + try: + inspiration = match.args()[0] + except: + inspiration = "INSPIRATION_01" async def generate_image(inspiration): imagine = Imagine()