Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 authored Nov 17, 2023
1 parent 46f32de commit e22b9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ def generate_image(tool_input, cat):

size = settings['image_size'].split('x')

return f"<img src="{image}" style="width: {int(size[0]) / 2}px; height: {int(size[1]) / 2}px;" alt='Generated image" />"
return f"<img src='{image}' style='width: {int(size[0]) / 2}px; height: {int(size[1]) / 2}px;' alt='Generated image' />"

0 comments on commit e22b9c1

Please sign in to comment.