From ee358d2bba2d565ab07dcb18080ee93604316f9e Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Sat, 25 Nov 2023 19:27:01 -0800 Subject: [PATCH] Fixed `--vision` feedback, incremented version --- interpreter/core/utils/html_to_base64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/core/utils/html_to_base64.py b/interpreter/core/utils/html_to_base64.py index 1ced13645e..f4a009f1b7 100644 --- a/interpreter/core/utils/html_to_base64.py +++ b/interpreter/core/utils/html_to_base64.py @@ -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), )