From 46f32de9f391a71bdd8369a2226cae22d2c63800 Mon Sep 17 00:00:00 2001 From: Daniele Nicosia Date: Fri, 17 Nov 2023 23:43:20 +0100 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b8ae5d3..aa5d800 100644 --- a/main.py +++ b/main.py @@ -42,4 +42,4 @@ def generate_image(tool_input, cat): size = settings['image_size'].split('x') - return f"""Generated image" />"""
+    return f"<img src="{image}" style="width: {int(size[0]) / 2}px; height: {int(size[1]) / 2}px;" alt="