Skip to content

Commit

Permalink
Fixed --vision feedback, incremented version
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Nov 26, 2023
1 parent f4b9798 commit ee358d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/core/utils/html_to_base64.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ def html_to_base64(code):

# Generate a random filename for the temporary image
temp_filename = "".join(random.choices(string.digits, k=10)) + ".png"
hti.output_path = get_storage_path()
hti.screenshot(
html_str=code,
output_path=get_storage_path(),
save_as=temp_filename,
size=(960, 540),
)
Expand Down

0 comments on commit ee358d2

Please sign in to comment.