bugfix
This commit is contained in:
parent
a0ad8af80f
commit
6cf732570c
@ -28,7 +28,7 @@ async def append_new_llmoutput(webpath, output):
|
|||||||
|
|
||||||
async def get_lastoutput(webpath):
|
async def get_lastoutput(webpath):
|
||||||
bin = await read_webpath(webpath)
|
bin = await read_webpath(webpath)
|
||||||
io = json.load(bin.decode('utf-8'))
|
io = json.loads(bin.decode('utf-8'))
|
||||||
return io['output'][-1]
|
return io['output'][-1]
|
||||||
|
|
||||||
async def read_webpath(webpath):
|
async def read_webpath(webpath):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user