update weight

This commit is contained in:
Ruixi Fan 2024-04-15 12:26:09 -07:00
parent 24484321f7
commit 0f0340c0ca
No known key found for this signature in database
GPG Key ID: C6112CB66F7DED6C

View File

@ -407,7 +407,7 @@ class PromptServer():
return web.Response(status=404)
return web.json_response(dt["__metadata__"])
@routes.post("/fetch_weight/{}")
@routes.post("/fetch_weight")
async def upload_weight(request):
post = await request.post()
return fetch_weight(post)