diff --git a/utils/lexicapi.py b/utils/lexicapi.py index 0a29733..58e4fd8 100644 --- a/utils/lexicapi.py +++ b/utils/lexicapi.py @@ -36,7 +36,7 @@ async def ImageGeneration(model,prompt): continue return image_url except Exception as e: - logging.warning(f"Failed to generate the image:", e) + logging.warning("Failed to generate the image:", e) finally: await AsyncClient().close()