[Minor] Improve code style (#2422)
This commit is contained in:
@@ -196,7 +196,7 @@ async def stop_profile_async():
|
||||
@app.post("/update_weights_from_disk")
|
||||
@time_func_latency
|
||||
async def update_weights_from_disk(obj: UpdateWeightFromDiskReqInput, request: Request):
|
||||
"""Update the weights from disk inplace without re-launching the server."""
|
||||
"""Update the weights from disk in-place without re-launching the server."""
|
||||
success, message = await tokenizer_manager.update_weights_from_disk(obj, request)
|
||||
content = {"success": success, "message": message}
|
||||
if success:
|
||||
|
||||
Reference in New Issue
Block a user