chawin.chen commited on
Commit
e44c48a
·
1 Parent(s): 5783af0
Files changed (1) hide show
  1. api_routes.py +1 -1
api_routes.py CHANGED
@@ -3236,7 +3236,7 @@ async def rvm_remove_background(
3236
  raise Exception(f"RVM抠图过程中出现错误: {str(e)}")
3237
 
3238
 
3239
- @api_router.post("/keep_alive", tags=["系统维护"])
3240
  @log_api_params
3241
  async def keep_cpu_alive(
3242
  duration: float = Query(
 
3236
  raise Exception(f"RVM抠图过程中出现错误: {str(e)}")
3237
 
3238
 
3239
+ @api_router.get("/keep_alive", tags=["系统维护"])
3240
  @log_api_params
3241
  async def keep_cpu_alive(
3242
  duration: float = Query(