Skip to content

Commit

Permalink
[apps/hal9] remove braces in generate images description (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisGuillen03 authored Jan 13, 2025
1 parent c3424c6 commit 0ac6738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/hal9/tools/image_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def generate_description(image_path):
except Exception as e:
return (f"Couldn't describe that image. -> Error: {e}")

return description
return description.replace("{", "").replace("}", "")

def image_generator(prompt, filename):
try:
Expand Down

0 comments on commit 0ac6738

Please sign in to comment.