diff --git a/llmage/utils.py b/llmage/utils.py index 9684a98..7226e06 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -28,7 +28,7 @@ async def append_new_llmoutput(webpath, output): async def get_lastoutput(webpath): bin = await read_webpath(webpath) - io = json.load(bin.decode('utf-8')) + io = json.loads(bin.decode('utf-8')) return io['output'][-1] async def read_webpath(webpath):