新增部分接口
This commit is contained in:
@ -230,7 +230,7 @@ async def run_train(project_id: int, session: Session = Depends(get_db)):
|
||||
return rc.response_error("项目当前存在训练进程,请稍后再试")
|
||||
data, project_name, name = ps.run_train_yolo(project_info, session)
|
||||
return StreamingResponse(
|
||||
ps.run_commend(data, project_name, name, 100, project_id, session),
|
||||
ps.run_commend(data, project_name, name, 50, project_id, session),
|
||||
media_type="text/plain")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user